不仅执行
sudo iptables -F
没有效果,我先用
sudo iptables -L -n -t nat --line-number
找到数字后删除也报错
sudo iptables -D PREROUTING 1
错误信息为iptables: No chain/target/match by that name.
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
Ubuntu使用iptables可以这样做:
你是否没有开启iptables这个服务啊?我之前也中招,忘记开启!