Below are steps to revert back and restore iptables to default configuration on Linux hosts.
1. Set Accept All policy for all connections. For this run below commands.
2. Delete all the existing iptables rules using below command.
1. Set Accept All policy for all connections. For this run below commands.
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT
# iptables -P FORWARD ACCEPT
2. Delete all the existing iptables rules using below command.
# iptables -F
Products to which Article Applies
All Linux Operating SystemsAdditional References
https://linux.die.net/man/8/iptables
tarun boyella
No comments:
Post a Comment