EC2 instance is blocking all outbound connections, how to diagnose/fix?
Posted
by
Fraggle
on Server Fault
See other posts from Server Fault
or by Fraggle
Published on 2012-04-05T16:34:41Z
Indexed on
2012/04/05
17:32 UTC
Read the original article
Hit count: 317
amazon-ec2
|outboundrules
My EC2 instance is blocking all outbound connections.
wget http://www.google.com ==> Hangs
ping google.com ==>hangs
ssh user@anyserver ==>hangs
I ran : sudo iptables -F to eliminate all rules to no avail
AWS Management console shows Security Group for that instance has Inbound rule allowing ssh and port 80. Can't find anything about Outbound rules there.
Rebooted instance, no change.
If anyone knows how to diagnose or fix, please help.
Adding info:
[ec2-user@ip-10-112-62-73 ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 12:31:3D:06:31:BB
inet addr:10.112.62.73 Bcast:10.112.63.255 Mask:255.255.254.0
inet6 addr: fe80::1031:3dff:fe06:31bb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1933 errors:0 dropped:0 overruns:0 frame:0
TX packets:1764 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:164075 (160.2 KiB) TX bytes:343256 (335.2 KiB)
Interrupt:9
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:672 (672.0 b) TX bytes:672 (672.0 b)
[ec2-user@ip-10-112-62-73 ~]$ ip route show
10.112.62.0/23 dev eth0 proto kernel scope link src 10.112.62.73
default via 10.112.62.1 dev eth0
© Server Fault or respective owner