How to delete the one of iptables chains?
Dear all,
My nat Chain PREROUTING is following. How to delete the one of chains? Thanks for any ideas. Chain PREROUTING (policy ACCEPT) target prot opt source destination DNAT udp -- anywhere anywhere udp dpt:telnet to:192.168.1.218:23 DNAT udp -- anywhere anywhere udp dpt:telnet to:192.168.1.218:23 DNAT tcp -- anywhere anywhere tcp dpt:telnet to:192.168.1.218:23 DNAT tcp -- anywhere anywhere tcp dpt:telnet to:192.168.1.218:23 DNAT tcp -- anywhere anywhere tcp dpt:telnet to:192.168.1.218:23 DNAT udp -- anywhere anywhere udp dpt:telnet to:192.168.1.218:23 Tommy |
If you want to delete of of the rules under the chain PREROUTING, run:
Code:
iptables -D PREROUTING rulenum Code:
man iptables |
All times are GMT -5. The time now is 05:48 AM. |