Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2010
    Posts
    647

    How to null route ip via ssh ?

    I would like to know how to null route the entire ip range from my VPS. I would like to know how to do that via ssh, I'm pretty much a noob at these stuffs.

    I have blocked single ip from my vps using the following command:
    Code:
    route add (ip address) gw 127.0.0.1 lo
    I'm looking to null the below range:
    1.1.1.0/24

  2. #2
    Join Date
    Mar 2009
    Location
    /home/khunj
    Posts
    433
    It is better to use the `ip` command:

    Code:
    # ip route add blackhole 1.1.1.0/24
    NinTechNet
    ★ NinjaFirewall : Web Application Firewall for PHP and WordPress.
    ★ NinjaMonitoring : Monitor your website for suspicious activities.

  3. #3
    Join Date
    Oct 2010
    Posts
    647
    Thanks Khunj

Similar Threads

  1. is this a null route from hivelocity for no reason?
    By sangozanji in forum Dedicated Server
    Replies: 12
    Last Post: 06-22-2013, 08:27 AM
  2. Softlayer null route my IP
    By freestyle666 in forum Dedicated Server
    Replies: 9
    Last Post: 08-01-2012, 12:42 PM
  3. null route help
    By gold2 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 07-18-2012, 11:32 AM
  4. null route ip on my dedi
    By Rhafrica in forum Dedicated Server
    Replies: 15
    Last Post: 04-27-2012, 08:24 AM
  5. How to null route China?
    By Gigaron in forum Hosting Security and Technology
    Replies: 6
    Last Post: 03-16-2008, 05:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •