EC2 instance
Private IP 172.31.24.38
Public IP: 52.34.2.3 by NAT map to private IP, so see only eth0 on host a privateIP
Softlayer
Eth0: private IP 10.62.248.237
Eth1: public IP: 173.2.33.4
Then according to the article configuration openvpnhttp://aws.amazon.com/articles/0639686206802544
The result is
Softlayer ping EC2 private IP, no problem, but the EC2 ping softlayer private IP has a problem, I found, in EC2 up do traceroute routing does not go out virtual channel tun0, but the default route to the Internet to look for, (I'm on the console of EC2 has added a static route to the soft layer go private IP EC2 instance)
Did Daniel encountered similar problems, or have a better suggestion? Thank you
CodePudding user response:
You can see if EC2 conf file on this machine the problem of subnet maskOr put the conf file also post
CodePudding user response:
It is recommended to use IPsec VPN connection, i.e., from softlayer direct connection to AWS IPsec VPN,