As part of a "Hardening" task, I need to run
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
On our servers. Normally we would run this command and then run /sbin/iptables-save
to implement the new policy. However as soon as I ran iptables -P OUTPUT DROP my SSH disconnected.
Is this due to the OS being RHEL?
How do I configure this machine to allow my IP address through?