DNS issues

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
bjs04
OpenVpn Newbie
Posts: 1
Joined: Sun Jan 22, 2012 4:58 am

DNS issues

Post by bjs04 » Sun Jan 22, 2012 5:14 am

I have a paid subscription to a vpn service that uses openvpn. As per their instructions I installed openvpn in ubuntu 10.04 and then copied their configuration file and keys into the appropriate directories. I am able to connect to their vpn with the command "openvpn /etc/openvpn/openvpn-Swe.conf" as sudo and entering my user name and password. However when looking at the traffic in wireshark(my ethernet interface) all of my dns queries are sent from my local ip to my router, but every other packet is sent to the vpn server address as udp packets. Isn't the dns supposed to be going through the tunnel?

nitinmalik21
OpenVpn Newbie
Posts: 3
Joined: Thu Feb 02, 2012 11:40 am

Re: DNS issues

Post by nitinmalik21 » Thu Mar 01, 2012 12:40 pm

Hi,

Please post your Server config file here that will help us.

Also all the traffic sent is UDP because in your server.conf file you select proto type as UDP.

If you change it to TCP all the traffic sent is as TCP.

Regards
Nitin Malik

tef856
OpenVpn Newbie
Posts: 1
Joined: Tue Mar 13, 2012 6:57 am

Re: DNS issues

Post by tef856 » Tue Mar 13, 2012 7:16 am

float
client
dev tun
proto udp
nobind

; CERT
ca /etc/openvpn/keys/ca.crt
ns-cert-type server
cipher BF-CBC

; HOST
remote-random
remote anna.vpntunnel.se 10010
remote anna.vpntunnel.se 10020
remote anna.vpntunnel.se 1194

resolv-retry infinite

; AUTH
auth-user-pass
persist-key
persist-tun

comp-lzo
verb 1

Post Reply