remove a particular iptables rule
Dear Friends ,
I have to run the follwoing iptables rules : "iptables -t nat -A PREROUTING -i eth0 -s eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128" Now after several times , I need to remove this rules without using "IPTABLES -F" . How can I do it ? |
You run the same command, but substitute -D for -A. You can also delete it by rule number. Check out iptables man page for more info.
|
All times are GMT -5. The time now is 06:36 PM. |