Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Jan Just Keijser <janjust <at> nikhef.nl>
Subject: Re: strange openvpn redirect-gateway def1 + windows 7 issue
Newsgroups: gmane.network.openvpn.user
Date: Monday 21st March 2011 06:59:59 UTC (over 6 years ago)
Hi Stefano,

try adding
  register-dns
to the client config file. This new option in 2.1.4 is designed to work 
around Windows dns (caching) issues.

HTH,

JJK

Stefano Sasso wrote:
> Hello,
>   I have a strange issue with a linux openvpn server that does
> redirect-gateway def1 and a windows 7 client.
>
> The tunnel works, routes are set, but every client software could not
> resolve dns. but nslookup does.
>
> from windows 7:
> telnet www.google.com 80  -> could not get host name
> nslookup www.google.com -> get the ip address
> telnet google.ip.address 80 -> works
> (I tried with never used hostnames, so dns cache does not matter)
>
> my server config:
>
> comp-lzo
> keepalive 10 120
> ping-timer-rem
> persist-tun
> persist-key
>
> verb 3
> mute 20
>
> dev tun
> mode server
> daemon
>
> server 10.148.0.0 255.255.255.0
>
> proto udp
> port 17199
>
> max-clients 50
> ifconfig-pool-persist _d/ipp.txt
>
> push "redirect-gateway def1"
> # tried with and without dhcp option, with no differences
> push "dhcp-option DNS 194.177.96.205"
>
> tls-server
> ca _d/k/ca.crt
> cert _d/k/server.crt
> key _d/k/server.key
> dh _d/k/dh1024.pem
> tls-auth _d/k/ta.key 0
>
> push "ping 10"
> push "ping-restart 60"
>
> no-replay
>
> status-version 2
> log-append vpn.log
>
>
>
>
> and client:
>
> dev tun
> client
> proto udp
>
> tls-auth masq1.d/ta.key 1
>
> remote server.my.domain 17199
>
> tls-client
> ca masq1.d/ca.crt
> cert masq1.d/masq1.crt
> key masq1.d/masq1.key
>
> pull
> no-replay
>
> comp-lzo
> verb 4
>
>
> any idea?
> thanks
>
> bye,
> stefano
>
>
------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Openvpn-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>   


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
 
CD: 4ms