I'm struggling to work out how to configure an IPSEC Client connection from my hapAC2 to my Fritzbox 7490. The Fritzbox has a static IP, the hapAC2 is on a dynamic IP provided by a mobile provider SIM in an LTE USB Modem.
I have got the VPN working from a Raspberry Pi ZeroW as the client, however I would like to connect from the hapAc2 so i can use WinBox remotely.
This is the Linux config:
IPSec gateway abc123.myfritz.net
IPSec ID pivpn
IPSec secret 1234abcd
IKE Authmode psk
Xauth username pivpn
Xauth password PiPass
local port 0
DPD idle timeout (our side) 0
Could someone please point me in the right direction for how to make this config using the Mikrotik as the client? All the examples I've found are using the Mikrotik as the server.