HI All
Router: RT-AC88U, Firmware: 384.9
I followed the guide here to get custom ddns working. Under DDNS settings the method to retrieve ip is set to internal. Now that i have enabled openvpn client tunnel i would like to have the ddns be updated with the VPN ip. I see the example on the page above on how to get the VPN IP but thats not working for me. Issue i am running into is that the wget/curl command on the router is not going through the vpn tunnel.
curl --interface tun11 http://ipv4.icanhazip.com/ -> returns the VPN IP
curl http://ipv4.icanhazip.com/ -> returns the ISP IP.
Under rules for routing for my VPN i have
Source IP: 192.168.1.0/24 Destination IP: 0.0.0.0 configured to use VPN.
I have confirmed my devices are connected to vpn so the tunnel is working.
So i was curious is it expected that the wget/curl commands on the router will not go through the tunnel or there is something wrong in my setup?
Also once its working do i then remove the ddns-start script and setup ddns only with the openvpn-event script? Or do i have them both running?
Router: RT-AC88U, Firmware: 384.9
I followed the guide here to get custom ddns working. Under DDNS settings the method to retrieve ip is set to internal. Now that i have enabled openvpn client tunnel i would like to have the ddns be updated with the VPN ip. I see the example on the page above on how to get the VPN IP but thats not working for me. Issue i am running into is that the wget/curl command on the router is not going through the vpn tunnel.
curl --interface tun11 http://ipv4.icanhazip.com/ -> returns the VPN IP
curl http://ipv4.icanhazip.com/ -> returns the ISP IP.
Under rules for routing for my VPN i have
Source IP: 192.168.1.0/24 Destination IP: 0.0.0.0 configured to use VPN.
I have confirmed my devices are connected to vpn so the tunnel is working.
So i was curious is it expected that the wget/curl commands on the router will not go through the tunnel or there is something wrong in my setup?
Also once its working do i then remove the ddns-start script and setup ddns only with the openvpn-event script? Or do i have them both running?
Last edited: