VPN says it connects, but I am not on the local network

All comments and questions related to the functionality of the OpenVPN web pages and forum should go here.

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

Post Reply
xtrimsky
OpenVpn Newbie
Posts: 1
Joined: Tue May 22, 2012 2:06 pm

VPN says it connects, but I am not on the local network

Post by xtrimsky » Tue May 22, 2012 2:14 pm

I'm trying to connect to a VPN using OpenVPN.

I have this config file:

Code: Select all

# OpenVPN client config file for app1

client
dev tun
proto udp
# xxx.xxx.xxx.xxx is app1
# xxx.xxx.xxx.xxx is app2
remote xxx.xxx.xxx.xxx 1194
remote xxx.xxx.xxx.xxx 1194
resolv-retry 60
nobind
pkcs12 fanny.p12 # (replace with the client name)
ns-cert-type server
comp-lzo
verb 1
The VPN connects successfully, but then I cannot ping some IP Addresses that are on this network.
I have another computer with another private key on a Mac OS X machine with the same config that works very well.

I'm pretty sure it is the windows machine that is not working perfectly. (I have the firewall disabled, its a Windows 7 x64 machine)
Here is my log file:

Code: Select all

Tue May 22 10:11:37 2012 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Dec 15 2011
Tue May 22 10:11:37 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 22 10:11:37 2012 LZO compression initialized
Tue May 22 10:11:37 2012 UDPv4 link local: [undef]
Tue May 22 10:11:37 2012 UDPv4 link remote: xxx.xxx.xxx.xxx:1194
Tue May 22 10:11:37 2012 [server] Peer Connection Initiated with xxx.xxx.xxx.xxx:1194
Tue May 22 10:11:40 2012 TAP-WIN32 device [Local Area Connection 2] opened: \\.\Global\{95447BE8-8DF9-4C5E-8E7C-85AC5A81CE36}.tap
Tue May 22 10:11:40 2012 Set TAP-Win32 TUN subnet mode network/local/netmask = 10.32.49.0/10.32.49.122/10.32.49.1 [SUCCEEDED]
Tue May 22 10:11:40 2012 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.32.49.122/10.32.49.1 on interface {95447BE8-8DF9-4C5E-8E7C-85AC5A81CE36} [DHCP-serv: 255.255.255.253, lease-time: 31536000]
Tue May 22 10:11:40 2012 Successful ARP Flush on interface [18] {95447BE8-8DF9-4C5E-8E7C-85AC5A81CE36}
Tue May 22 10:12:15 2012 Warning: route gateway is not reachable on any active network adapters: 10.32.49.1
 OK!
SYSTEM ROUTING TABLE
0.0.0.0 0.0.0.0 192.168.2.1 p=0 i=11 t=4 pr=3 a=3759 h=0 m=25/0/0/0/0
10.32.48.0 255.255.255.0 10.32.49.1 p=0 i=11 t=4 pr=3 a=0 h=0 m=26/0/0/0/0
127.0.0.0 255.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=3 a=3784 h=0 m=306/0/0/0/0
127.0.0.1 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=3784 h=0 m=306/0/0/0/0
127.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=3784 h=0 m=306/0/0/0/0
169.254.0.0 255.255.0.0 169.254.127.255 p=0 i=18 t=3 pr=3 a=1179 h=0 m=286/0/0/0/0
169.254.127.255 255.255.255.255 169.254.127.255 p=0 i=18 t=3 pr=3 a=1179 h=0 m=286/0/0/0/0
169.254.255.255 255.255.255.255 169.254.127.255 p=0 i=18 t=3 pr=3 a=1179 h=0 m=286/0/0/0/0
192.168.2.0 255.255.255.0 192.168.2.21 p=0 i=11 t=3 pr=3 a=3759 h=0 m=281/0/0/0/0
192.168.2.21 255.255.255.255 192.168.2.21 p=0 i=11 t=3 pr=3 a=3759 h=0 m=281/0/0/0/0
192.168.2.255 255.255.255.255 192.168.2.21 p=0 i=11 t=3 pr=3 a=3759 h=0 m=281/0/0/0/0
224.0.0.0 240.0.0.0 127.0.0.1 p=0 i=1 t=3 pr=3 a=3784 h=0 m=306/0/0/0/0
224.0.0.0 240.0.0.0 192.168.2.21 p=0 i=11 t=3 pr=3 a=3765 h=0 m=281/0/0/0/0
224.0.0.0 240.0.0.0 169.254.127.255 p=0 i=18 t=3 pr=3 a=2333 h=0 m=286/0/0/0/0
255.255.255.255 255.255.255.255 127.0.0.1 p=0 i=1 t=3 pr=3 a=3784 h=0 m=306/0/0/0/0
255.255.255.255 255.255.255.255 192.168.2.21 p=0 i=11 t=3 pr=3 a=3765 h=0 m=281/0/0/0/0
255.255.255.255 255.255.255.255 169.254.127.255 p=0 i=18 t=3 pr=3 a=2333 h=0 m=286/0/0/0/0
SYSTEM ADAPTER LIST
TAP-Win32 Adapter V9
  Index = 18
  GUID = {95447BE8-8DF9-4C5E-8E7C-85AC5A81CE36}
  IP = 169.254.127.255/255.255.0.0 
  MAC = 00:ff:95:44:7b:e8
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV = 0.0.0.0/255.255.255.255 
  DHCP LEASE OBTAINED = Tue May 22 10:12:16 2012
  DHCP LEASE EXPIRES  = Thu Jan 07 17:26:20 1971
  DNS SERV =  
Microsoft Virtual WiFi Miniport Adapter
  Index = 16
  GUID = {3F9AB0B2-5F19-44B0-9578-7BC7F06F1827}
  IP = 0.0.0.0/0.0.0.0 
  MAC = 1e:c3:a1:a4:58:7b
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV =  
  DHCP LEASE OBTAINED = Tue May 22 10:12:16 2012
  DHCP LEASE EXPIRES  = Thu Jan 07 17:37:00 1971
  DNS SERV =  
Bluetooth Device (Personal Area Network)
  Index = 13
  GUID = {254944A2-A754-49BC-A859-2EF14EB6ACAA}
  IP = 0.0.0.0/0.0.0.0 
  MAC = 7c:c3:a1:56:f2:a1
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV =  
  DHCP LEASE OBTAINED = Tue May 22 10:12:16 2012
  DHCP LEASE EXPIRES  = Thu Jan 07 17:47:40 1971
  DNS SERV =  
Broadcom NetXtreme Gigabit Ethernet
  Index = 12
  GUID = {E799F7EF-D136-4564-9EFE-C695492FC964}
  IP = 0.0.0.0/0.0.0.0 
  MAC = 3c:07:54:79:00:fa
  GATEWAY = 0.0.0.0/255.255.255.255 
  DHCP SERV =  
  DHCP LEASE OBTAINED = Tue May 22 10:12:16 2012
  DHCP LEASE EXPIRES  = Wed Dec 31 19:00:00 1969
  DNS SERV =  
Atheros AR938x Wireless Network Adapter
  Index = 11
  GUID = {F2BC4FD4-F007-42DD-98F1-C9612D4C248D}
  IP = 192.168.2.21/255.255.255.0 
  MAC = 7c:c3:a1:a4:58:7b
  GATEWAY = 192.168.2.1/255.255.255.255 
  DHCP SERV = 192.168.2.1/255.255.255.255 
  DHCP LEASE OBTAINED = Tue May 22 09:09:37 2012
  DHCP LEASE EXPIRES  = Wed Dec 31 19:00:00 1969
  DNS SERV = 192.168.2.1/255.255.255.255 
Tue May 22 10:12:16 2012 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )
Could someone please help me ?

Thank you

Post Reply