Archive > 21.7 Legacy Series
Disable Gateway and reenable from the command line
(1/1)
amichel:
Hi all,
my current VPN configuration to azure is disconnecting when I get a new dynamic IP Adress from my ISP. While the VPN tunnel is automatically recreated, the connection to Azure is not established as long as I do not disable the Gateway and reenable it (I am using a route based IPSEC connection).
So I do have the possibility to automate this with zabbix, sending a remote command to the Opnsense box, but I am missing the correct command to do that
I tried to ifconfig down and ifconfig up on the IPSEC interface but this did not help.
Any help to send me in this direction would be highly appreiciated.
amichel
amichel:
So I was able to fix it differently by simply restarting the IPSEC service from my Zabbix server.
Navigation
[0] Message Index
Go to full version