Page 1 of 1

OpenVPN + Wireless = no traffic through tun0

Posted: Sat Mar 30, 2013 11:04 pm
by kirps
I'm pretty new to linux and am attempting to get an openvpn client running on my pi.

I have everything installed and configured and it seems to work, creating the tun0 network interface etc. but no traffic seems to be passing through it from my wireless adapter. i.e. all the bytes are being run through the wlan0 interface and nothing is passing through tun0.

I'm guessing I'm missing some piece of configuration, but don't really know where to look.

Thanks in advance.

Re: OpenVPN + Wireless = no traffic through tun0

Posted: Tue Apr 02, 2013 5:24 am
by kirps
I'm slowly stumbling through this and have made some progress.

It looks like the VPN actually was connected. I was able to ping IPs on the network I'm interested in, however, it appears that the DNS resolution isn't working properly.

I.e. there is a server named some.server.mycompany.net which I can ping by IP but not by name. Any thoughts?

Re: OpenVPN + Wireless = no traffic through tun0

Posted: Tue Apr 02, 2013 8:52 am
by Jens
You can try 8.8.8.8 (one of google's DNS servers)

Re: OpenVPN + Wireless = no traffic through tun0

Posted: Tue Apr 02, 2013 3:55 pm
by kirps
That's public DNS, I need to resolve the host that's behind the VPN.

I thought I read somewhere about configuring a nameserver change once the VPN is connected, but I can't find the article now...