Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

One line.

iptables -t nat -A OUTPUT -d $EC2_PUBLIC_IP -j DNAT --to-destination $EC2_PRIVATE_IP