Old 01-26-2012, 08:48 PM   #1 (permalink)
Newbie
 
Join Date: Jan 2012
Posts: 1
rahl is on a distinguished road
Default OpenVPN nameservers not working automatic?

Hi,

So I have Windows 7 and use openvpn-gui-1.0.3 and this problems happens no matter where I connect to. I have tried several servers with different configurations. I run the client as administrator

The VPN connects ok but the problem is the nameserver connection. I can't resolve anything upon connect.

The details on my TAP-Win32 interface shows there are nameservers assigned.
I need to open the TAP-Win32 properties it's IPv4 properties and close it again. Then I can suddenly connect to the nameservers, they don't change when I do this.

I have tried re-installing OpenVPN and uninstalled and reinstalled the TAP interface serveral times.

Connection log if it helps, I masked some of the IPs

Fri Jan 27 04:58:51 2012 OpenVPN 2.2.1 Win32-MSVC++ [SSL] [LZO2] built on Jul 1 2011
Fri Jan 27 04:58:51 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri Jan 27 04:58:51 2012 LZO compression initialized
Fri Jan 27 04:58:51 2012 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Jan 27 04:58:51 2012 Socket Buffers: R=[8192->8192] S=[8192->8192]
Fri Jan 27 04:58:51 2012 RESOLVE: NOTE: openvpn.anonine.net resolves to 12 addresses
Fri Jan 27 04:58:51 2012 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Fri Jan 27 04:58:51 2012 Local Options hash (VER=V4): 'd79ca330'
Fri Jan 27 04:58:51 2012 Expected Remote Options hash (VER=V4): 'f7df56b8'
Fri Jan 27 04:58:51 2012 UDPv4 link local: [undef]
Fri Jan 27 04:58:51 2012 UDPv4 link remote: 46.:1195
Fri Jan 27 04:58:51 2012 TLS: Initial packet from 46.:1195, sid=29f6aef8 2180161a
Fri Jan 27 04:58:51 2012 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Jan 27 04:58:51 2012 VERIFY OK: depth=1, /C=SE/ST=Calisota/L=Ankeborg/O=Anonine/OU=VPN/CN=Anonine_CA/emailAddress=.....
Fri Jan 27 04:58:51 2012 VERIFY OK: nsCertType=SERVER
Fri Jan 27 04:58:51 2012 VERIFY OK: depth=0, /C=SE/ST=Calisota/L=Ankeborg/O=Anonine/CN=arche/emailAddress=support@....
Fri Jan 27 04:58:51 2012 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Jan 27 04:58:51 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Jan 27 04:58:51 2012 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Fri Jan 27 04:58:51 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Jan 27 04:58:51 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Fri Jan 27 04:58:51 2012 [arche] Peer Connection Initiated with 46.246.117.131:1195
Fri Jan 27 04:58:53 2012 SENT CONTROL [arche]: 'PUSH_REQUEST' (status=1)
Fri Jan 27 04:58:53 2012 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 80.67.0.2,dhcp-option DNS 91.213.246.2,route-gateway 46...,ping 10,ping-restart 30,ifconfig 46.... 255.255.255.128'
Fri Jan 27 04:58:53 2012 OPTIONS IMPORT: timers and/or timeouts modified
Fri Jan 27 04:58:53 2012 OPTIONS IMPORT: --ifconfig/up options modified
Fri Jan 27 04:58:53 2012 OPTIONS IMPORT: route options modified
Fri Jan 27 04:58:53 2012 OPTIONS IMPORT: route-related options modified
Fri Jan 27 04:58:53 2012 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Jan 27 04:58:53 2012 ROUTE default_gateway=95.80.9.11
Fri Jan 27 04:58:53 2012 ROUTE: bypass_host_route[0]=95.80.6.1
Fri Jan 27 04:58:53 2012 TAP-WIN32 device [OpenVPN] opened: \\.\Global\{ED2BE060-059A-4ADA-A444-254FC368A720}.tap
Fri Jan 27 04:58:53 2012 TAP-Win32 Driver Version 9.8
Fri Jan 27 04:58:53 2012 TAP-Win32 MTU=1500
Fri Jan 27 04:58:53 2012 Notified TAP-Win32 driver to set a DHCP IP/netmask of 46.246.88.158/255.255.255.128 on interface {ED2BE060-059A-4ADA-A444-254FC368A720} [DHCP-serv: 46...., lease-time: 31536000]
Fri Jan 27 04:58:53 2012 Successful ARP Flush on interface [25] {ED2BE060-059A-4ADA-A444-254FC368A720}
Fri Jan 27 04:58:58 2012 TEST ROUTES: 1/1 succeeded len=0 ret=1 a=0 u/d=up
Fri Jan 27 04:58:58 2012 C:\WINDOWS\system32\route.exe ADD 46..... MASK 255.255.255.255 95.80.9.11
Fri Jan 27 04:58:58 2012 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=10 and dwForwardType=4
Fri Jan 27 04:58:58 2012 Route addition via IPAPI succeeded [adaptive]
Fri Jan 27 04:58:58 2012 C:\WINDOWS\system32\route.exe ADD 95.80.6.1 MASK 255.255.255.255 95.80.9.11
Fri Jan 27 04:58:58 2012 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=10 and dwForwardType=4
Fri Jan 27 04:58:58 2012 Route addition via IPAPI succeeded [adaptive]
Fri Jan 27 04:58:58 2012 C:\WINDOWS\system32\route.exe ADD 0.0.0.0 MASK 128.0.0.0 46.....
Fri Jan 27 04:58:58 2012 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Fri Jan 27 04:58:58 2012 Route addition via IPAPI succeeded [adaptive]
Fri Jan 27 04:58:58 2012 C:\WINDOWS\system32\route.exe ADD 128.0.0.0 MASK 128.0.0.0 46.246.88.129
Fri Jan 27 04:58:58 2012 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=30 and dwForwardType=4
Fri Jan 27 04:58:58 2012 Route addition via IPAPI succeeded [adaptive]
Fri Jan 27 04:58:58 2012 Initialization Sequence Completed
Fri Jan 27 05:17:21 2012 Replay-window backtrack occurred [3]
rahl is offline  
Old 02-06-2012, 10:34 AM   #2 (permalink)
Untangle Ninja

 
WebFooL's Avatar
 
Join Date: Jan 2009
Location: Sweden (Eskilstuna)
URLs submitted: 57
Posts: 3,879
WebFooL is on a distinguished road
Send a message via MSN to WebFooL
Default

Hi rhal and welcome to the forum,

Just to be sure. You are running OpenVPN in Untangle? (or is this a standalone install?)

If you are running in Untangle check that you export the network that the DNS servers are located on and that you have DNS override active with the correct IP addresses.
WebFooL is online now  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:21 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2