Results 1 to 3 of 3
Thread: How to null route ip via ssh ?
-
01-29-2014, 11:13 AM #1Web Hosting Master
- 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
1.1.1.0/24
-
01-29-2014, 11:39 AM #2Aspiring Evangelist
- 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.
-
01-29-2014, 12:00 PM #3Web Hosting Master
- Join Date
- Oct 2010
- Posts
- 647
Thanks Khunj
Similar Threads
-
is this a null route from hivelocity for no reason?
By sangozanji in forum Dedicated ServerReplies: 12Last Post: 06-22-2013, 08:27 AM -
Softlayer null route my IP
By freestyle666 in forum Dedicated ServerReplies: 9Last Post: 08-01-2012, 12:42 PM -
null route help
By gold2 in forum Hosting Security and TechnologyReplies: 5Last Post: 07-18-2012, 11:32 AM -
null route ip on my dedi
By Rhafrica in forum Dedicated ServerReplies: 15Last Post: 04-27-2012, 08:24 AM -
How to null route China?
By Gigaron in forum Hosting Security and TechnologyReplies: 6Last Post: 03-16-2008, 05:43 AM