Hi, I'm very new to using openvpn but recognize this is likely a dumb question so please bear with me. I searched the forums but it's all over my head!
I am on ubuntu linux. I want to have it boot up with the vpn connected (complete). I want my ddns service (in my case noip2) to use my ISP's assigned address and not the VPN server address - which is unfortunately does once the VPN is connected. How do I do this? My VPN provider suggested I use the route command to specify a path to the noip server but I don't understand exactly how to do this.
Thanks!
How to use DDNS ervice
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: How to use DDNS ervice
Add to your config file
Code: Select all
route-nopull
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Dec 28, 2011 7:56 pm
Re: How to use DDNS ervice
Hi, thanks for the suggestion.
That makes using the VPN a user choice for each connection right?
What I would like to do it have the VPN used for ALL connections EXCEPT for the noip server. Is that possible?
That makes using the VPN a user choice for each connection right?
What I would like to do it have the VPN used for ALL connections EXCEPT for the noip server. Is that possible?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Dec 28, 2011 7:56 pm
Re: How to use DDNS ervice
I tried using the route command to specify that noip use my own gateway.
sudo route add -host www.no-ip.com gw 192.168.0.1
It seemed to work (no vpn in the traceroute path anymore):
eric@mythtv:~$ traceroute www.no-ip.com
traceroute to www.no-ip.com (8.23.224.110), 30 hops max, 60 byte packets
1 192.168.0.1 (192.168.0.1) 3.516 ms 3.478 ms 3.456 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 www.no-ip.com (8.23.224.110) 250.138 ms 272.332 ms 59.620 ms
BUT, noip still came up with the vpn server ip address.
Any other ideas?
sudo route add -host www.no-ip.com gw 192.168.0.1
It seemed to work (no vpn in the traceroute path anymore):
eric@mythtv:~$ traceroute www.no-ip.com
traceroute to www.no-ip.com (8.23.224.110), 30 hops max, 60 byte packets
1 192.168.0.1 (192.168.0.1) 3.516 ms 3.478 ms 3.456 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 www.no-ip.com (8.23.224.110) 250.138 ms 272.332 ms 59.620 ms
BUT, noip still came up with the vpn server ip address.
Any other ideas?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Dec 28, 2011 7:56 pm
Re: How to use DDNS service - SOLVED
Sorry for all the messages to myself! 
I had the url wrong for the dynamic ip resolver service.
I did this:
sudo route add -host dynupdate.no-ip.com gw 192.168.0.1
And my noip.com service works fine now with the vpn on.
Hope this helps some other noob.

I had the url wrong for the dynamic ip resolver service.
I did this:
sudo route add -host dynupdate.no-ip.com gw 192.168.0.1
And my noip.com service works fine now with the vpn on.
Hope this helps some other noob.
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm