Be careful when using/sbin/iptables-F. If this problem persists, you can immediately disconnect from the server and temporarily stop the firewall by clearing all rules in/sbin/iptables-F: (warning: this is only suitable for environments without a firewall. if the default rule is deny, this step will interrupt all network access in the system.) if you want
Use/sbin/Iptables-F be careful. if this is not the case, you will be disconnected from the server immediately.
You can use/sbin/iptables-F to clear all rules to temporarily stop the firewall: (warning: this is only applicable in environments where no firewall is configured. If deny is configured, this step will interrupt all network access of the system)
Run
/Sbin/iptables-P INPUT ACCEPT
Then execute
/Sbin/iptables-F
You can see the following information through iptables-L:
Chain INPUT (policy DROP 0 packets, 0 bytes)(Note: DROP)
Execute/sbin/iptables-F to immediately disconnect
When
/Sbin/iptables-P INPUT ACCEPT
To view the information through iptables-L again
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
So it is safe to use now
/Sbin/iptables-F