Page 1 of 1
DNS issues
Posted: Sun Jan 22, 2012 5:14 am
by bjs04
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?
Re: DNS issues
Posted: Thu Mar 01, 2012 12:40 pm
by nitinmalik21
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
Re: DNS issues
Posted: Tue Mar 13, 2012 7:16 am
by tef856
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