Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Arjan

#1
Hi,

We use OPNsense to connect our proxmox environment to our AWS environment using a site-to-site VPN. The issue we are experiencing is that AWS tends to replace tunnel endpoints at irregular intervals due to maintenance, upgrades - etc, which disconnects one of the two tunnels.

This necessitates a manual restart of the tunnel in OPNSense, under VPN -> IPsec -> Status Overview and pressing the "start" icon at the disconnected tunnel.

What I'm looking for is a method to automate this. Dead peer detection is enabled at 10 seconds, 3 retries and "restart the tunnel", but this does not appear to have any effect. My guess is because the AWS side is probably shutting down the tunnel neatly, so the disconnect is not seen as an error.

Is there any way that I can automate OPNsense to "start" a disconnected tunnel?

Edit: I should note the same behaviour is exhibited during a reboot of the OPNsense instance. It requires manual activation of the VPN tunnel. I would like this to be automatic, on start and on-disconnection.