On a freshly installed EC2:
The Security Group is default. "All Traffic" is allowed for 0.0.0.0/0 for both Inbound and Outbound.
The "Network ACL" has some limitations for inbound as we want our website on this domain to be an internal network for our charity organisation. But from this server, we want to install some things via SSH so we need wget
and curl
. So the Outbound is also
100 ALL Traffic 0.0.0.0/0 ALLOW
* ALL Traffic 0.0.0.0/0 DENY
That last "DENY" is added by default.
With these settings, which seems to be quite normal, what else am I missing? Note that all iptables
rules are flushed, and we do not use iptables to the best of my knowledge. All firewall stuff is managed by the Amazon VPC security settings.
Any thoughts or pointers? Thank you.
It appears that you are able to connect to your instance (via ssh
or RDP), but you cannot access Internet resources from the instance. If so, things to check are:
0.0.0.0/0
The fact that you can connect INWARDS suggests that your network settings are all correct. Being unable to initiate an OUTWARDS connection is normally due to an Outbound Security Group setting.