To delete the rule "1 MASQUERADE all -- 172.17.0.0/16 0.0.0.0/0", you can use the following command:

sudo iptables -t nat -D POSTROUTING 1 -s 172.17.0.0/16 -j MASQUERADE

This will remove the first rule (-D POSTROUTING 1) in the nat table (-t nat) that matches the source IP range 172.17.0.0/16 (-s 172.17.0.0/16) and the MASQUERADE target (-j MASQUERADE).

how to delete 1 MASQUERADE all -- 172170016 00000

原文地址: https://www.cveoy.top/t/topic/fiTA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录