I'm trying to set up an Azure Cloud Virtual Machine as an OpenVPN server.
The server is running Window Server 2012, the client is running Windows 7.
I followed this guide pretty much to the letter:
https://community.openvpn.net/openvpn/wiki/Easy_Windows_Guide
and have Windows Firewall on the server turned off completely.
I can connect, the client is assigned an IP address, routes seem to be created on the client side.
But, I can't ping the server from the client or vice versa.
On the server, this is what I see in the log file.
Sun Feb 08 23:41:15 2015 OpenVPN 2.1.3 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Aug 20 2010
Sun Feb 08 23:41:15 2015 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Feb 08 23:41:16 2015 Diffie-Hellman initialized with 1024 bit key
Sun Feb 08 23:41:16 2015 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sun Feb 08 23:41:16 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Feb 08 23:41:16 2015 ROUTE default_gateway=100.74.190.1
Sun Feb 08 23:41:16 2015 TAP-WIN32 device [Local Area Connection] opened: \\.\Global\{82BE924F-3C97-49B4-AD77-B3E78C47AB8F}.tap
Sun Feb 08 23:41:16 2015 TAP-Win32 Driver Version 9.7
Sun Feb 08 23:41:16 2015 TAP-Win32 MTU=1500
Sun Feb 08 23:41:16 2015 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.1/255.255.255.252 on interface {82BE924F-3C97-49B4-AD77-B3E78C47AB8F} [DHCP-serv: 10.8.0.2, lease-time: 31536000]
Sun Feb 08 23:41:16 2015 Sleeping for 10 seconds...
Sun Feb 08 23:41:26 2015 Successful ARP Flush on interface [25] {82BE924F-3C97-49B4-AD77-B3E78C47AB8F}
Sun Feb 08 23:41:26 2015 C:\WINDOWS\system32\route.exe ADD 10.8.0.0 MASK 255.255.255.0 10.8.0.2
Sun Feb 08 23:41:26 2015 Warning: route gateway is not reachable on any active network adapters: 10.8.0.2
Sun Feb 08 23:41:26 2015 Route addition via IPAPI failed [adaptive]
Sun Feb 08 23:41:26 2015 Route addition fallback to route.exe
OK!
Sun Feb 08 23:41:26 2015 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Feb 08 23:41:26 2015 UDPv4 link local (bound): 100.74.190.105:1194
Sun Feb 08 23:41:26 2015 UDPv4 link remote: [undef]
Sun Feb 08 23:41:26 2015 MULTI: multi_init called, r=256 v=256
Sun Feb 08 23:41:26 2015 IFCONFIG POOL: base=10.8.0.4 size=62
Sun Feb 08 23:41:26 2015 IFCONFIG POOL LIST
Sun Feb 08 23:41:26 2015 client1,10.8.0.4
Sun Feb 08 23:41:26 2015 Initialization Sequence Completed
Additionally, even though the OpenVPN GUI says I have an IP address, I don't see it in the output of ipconfig
C:\Program Files (x86)\OpenVPN\config>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : mymachine.b4.internal.cloudapp.net
Link-local IPv6 Address . . . . . : fe80::f4a5:99fd:7162:f402%12
IPv4 Address. . . . . . . . . . . : 100.74.190.105
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 100.74.190.1
Tunnel adapter isatap.mymachine.b4.internal.cloudapp.net:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : mymachine.b4.internal.cloudapp.net
Tunnel adapter 6TO4_Adapter:
Connection-specific DNS Suffix . : mymachine.b4.internal.cloudapp.net
IPv6 Address. . . . . . . . . . . : 2002:644a:be69::644a:be69
Default Gateway . . . . . . . . . :
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:0:9d38:90d7:3049:fbfe:4011:ece2
Link-local IPv6 Address . . . . . : fe80::3049:fbfe:4011:ece2%24
Default Gateway . . . . . . . . . :
Thoughts?