Page 1 of 1

DNS problem when connected to vpn server

Posted: Fri Apr 22, 2011 2:38 am
by nutcrack
I have been using VPN to bypass my office internet restriction but since yesterday my server admin blocks DNS traffic where in when i'm connected to VPN my internet fails to resolve DNS. Is there a way to bypass this with VPN config? I'm running my own openVPN server.

Re: DNS problem when connected to vpn server

Posted: Fri Apr 22, 2011 6:07 pm
by janjust
when you're running your own vpn server you can also run your own DNS server on the same box; push out this DNS server to the client and (depending on the client OS) all DNS queries will also go via the VPN.

Code: Select all

push "dhcp-option DNS <IP>"
If you're using Windows it is helpful to use

Code: Select all

register-dns