I need to block some packets in ppp0, and the target ip or source ip of packets are not in
172.17.0.1/24, how to add rules in Iptables? thanks!
|
|
|
i'm not sure if this is what you really want but this is what you are describing:
|
|||
|
|
That would have been -A INPUT too. But if you do not have a route to 172.17.0.0/24 (check with |
|||
|
|