Hi all! I'm trying to establish a VPN connection between tso OpenSWAN server. This is the scenario:
NAT Gateway A --- Server A --- Network A | INTERNET | NAT Gateway B --- Server B --- Network B
Here's my ipsec.conf for this connection:
conn test left=151.38.49.xxx leftsubnet=192.168.1.0/24 leftrsasigkey=0sAQNe... leftnexthop=%direct right=82.60.119.xxx rightsubnet=192.168.0.0/24 rightrsasigkey=0sAQNY... rightnexthop=%direct authby=rsasig auto=start
The file is the same on both servers. When I try to establish the connection I get:
ipsec__plutorun: 022 "test": we cannot identify ourselves with either end of this connection ipsec__plutorun: ...could not route conn "test" ipsec__plutorun: 022 "test": We cannot identify ourselves with either end of this connection. ipsec__plutorun: ...could not start conn "test"
I set nat_trasversal to yes but the same error appear. Both NAT Gateways support IPSec passthrough and UDP ports 500 and 4550 are both forwarder to Server A and Server B.
Thanks in advance, Heruan