Backtrack:  
 
showing posts tagged with 'iptables'
 
by lunarg on April 21st 2015, at 09:30

To block traffic from/to a specific IPv4 address using iptables, you can use these commands:

iptables -A INPUT -s 1.2.3.4 -j DROP
iptables -A OUTPUT -d 1.2.3.4 -j DROP
Warning!
Do not use these commands when you are already running an iptables-based firewall as this may result in unexpected results.
 
showing posts tagged with 'iptables'
 
 
« August 2019»
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
25262728293031
 
Links
 
Quote
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett