Say I add the following iptables rules:
iptables -A INPUT -p tcp -s localhost --dport 4444 -j ACCEPT iptables -A INPUT -p tcp --dport 4444 -j DROP
This allows localhost to access port 4444 then blocks all other IPs from accessing port 4444...
I now want to undo these previous iptables commands. What is the easiest way to "undo" that? e.g. allow all ips to access port 4444 again.