You are not logged in.

#1 2014-08-16 05:12:20

ce1984
Member
Registered: 2014-01-24
Posts: 41

dns update client and openvpn

I'm pretty new to this, so feel free to correct any terminology mistakes etc. as I try to wrap my brain around how all this works. Anyway, thanks, and here's the deal:

I have a headless machine running openvpn  to tunnel to a commercial vpn service. That setup works, and the service provides dns service as well, so that I can reach my machine through the tunnel. I'd like to also be able to reach the machine directly (over the internet but not throug the VPN), so I've signed up on a dynamic dns service and I'm running their dynamic update client as a service. However, the client reports my ip address as that of the exit node of the vpn. I understand why this is happening (I think) but I'm not sure what the most correct solution to fix it is.

The update client is noip2 provided by noip.com

$ip route

0.0.0.0/1 via 10.4.119.93 dev tun0 
default via 192.168.1.1 dev enp1s0  metric 202 
10.4.0.1 via 10.4.119.93 dev tun0 
10.4.119.93 dev tun0  proto kernel  scope link  src 10.4.119.94 
128.0.0.0/1 via 10.4.119.93 dev tun0 
184.75.221.2 via 192.168.1.1 dev enp1s0 
192.168.1.0/24 dev enp1s0  proto kernel  scope link  src 192.168.1.130  metric 202 

Thanks a bunch if you can offer any help

Offline

#2 2014-08-16 05:17:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: dns update client and openvpn


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB