OPNsense Forum

English Forums => Virtual private networks => Topic started by: _pX_ on December 15, 2022, 04:37:52 pm

Title: AWS IKEv1 IPsec - established but cannot connect to server
Post by: _pX_ on December 15, 2022, 04:37:52 pm
Hi,

I followed some tutorials and established connection to AWS (switched from UniFi USG PRO).
P2 shows as installed but when I try to SSH server on AWS I cannot connect.

(https://epograf.pl/tmp/ipsec.jpg)

What could be the problem?

Code: [Select]
2022-12-15T13:01:21 Informational charon 10[NET] <con1|1> received packet: from 3.x.x.x[4500] to 2.y.y.y[4500] (92 bytes)
2022-12-15T13:01:21 Informational charon 10[NET] <con1|1> sending packet: from 2.y.y.y[4500] to 3.x.x.x[4500] (92 bytes)
2022-12-15T13:01:21 Informational charon 10[ENC] <con1|1> generating INFORMATIONAL_V1 request 2319992086 [ HASH N(DPD) ]
2022-12-15T13:01:21 Informational charon 10[IKE] <con1|1> sending DPD request
2022-12-15T13:01:11 Informational charon 06[ENC] <con1|1> parsed INFORMATIONAL_V1 request 538979389 [ HASH N(DPD_ACK) ]
2022-12-15T13:01:11 Informational charon 06[NET] <con1|1> received packet: from 3.x.x.x[4500] to 2.y.y.y[4500] (92 bytes)

Also I found some tutorials misleading - do I need set any WAN rules or OPNSense take care of this?

The mobile configuration works good - it means I can connect from mobile client to local network and access resources.