I have been trying to restrict access to a port on an EC2 box to a single remote computer (my desktop).
The various "what is my IP" services around on the Internet all consistently report an IP address IP1.
However, when I look in the access logs on the EC2 box, I see my address is actually recorded as IP2.
Not surprisingly, restricting access only works properly (via EC2's security group rules, or iptables) when I use this IP2 address.
Now my question: is it Amazon EC2 which is translating my address as some point, or are all the "what is my IP" services (consistently) wrong? Either way, what is different about EC2?
usually most illogical issues have the most trivial explanation... Try checking your source IP against EC with something that is not proxy-prone/easy-to-manipulate. e.g. on EC2: #tcpdump -n -i any icmp on your PC: ping of course you have to open ICMP from any at AWS firewall for this ...