Hi,
I'd like to update the WAN IP of a VPN Server to my DDNS.
For this I wrote a script which is working fine, when running it from shell.
But in which userscript should I place my code, that it's automatically running after connecting to a VPN Server?
I firstly expected it could be openvpn-event, but my code is executing while connecting to VPN, not after connected. Hence I won't get the WAN IP.
Can anyone maybe give me a hint?
I'd like to update the WAN IP of a VPN Server to my DDNS.
For this I wrote a script which is working fine, when running it from shell.
But in which userscript should I place my code, that it's automatically running after connecting to a VPN Server?
I firstly expected it could be openvpn-event, but my code is executing while connecting to VPN, not after connected. Hence I won't get the WAN IP.
Can anyone maybe give me a hint?