Hi all,
I've got a VPN and DuckDNS and the "crontab -e" I have setup under instruction through DuckDNS shows the VPN address.
In /etc/network/interfaces I have added the following line:
Code:
up route add 54.186.198.195 gw 192.168.168.1
The IP address is Duck DNS's I believe.
My crontab -e
Code:
*/5 * * * * sh /home/pi/duckdns/duck.sh >/dev/null 2>&1
The script
Code:
echo url="https://www.duckdns.org/update?domains=domainhere&token=tokenhere&ip=" | curl -k -o /home/pi/duckdns/duck.log -K -
Can anyone tell me why it won't go through my router and goes through my VPN?