I have EC2 instance and I tried to block all outgoing connection using :
iptables -P OUTPUT DROP
But now I can't connect to that server again. I tried from AWS web console, but still can't connect.
How can I connect to it?
I have EC2 instance and I tried to block all outgoing connection using :
iptables -P OUTPUT DROP
But now I can't connect to that server again. I tried from AWS web console, but still can't connect.
How can I connect to it?
Restart it from the console. If you only did the iptables command from the shell prompt it’s not permanent.