I have an openvpn server In debian wheezy.
The config is host to land
I can use the Open VPN without further problems in iOS, Android and Linux. But I have a problem with Windows. (The client that I use with windows is openvpn gui "
http://openvpn.se/download.html")
When I try to connect from windows the connection is succesfull. I can connect to the server but my Public IP doesn't change. If I was correctly connected to the VPN my IP should be different.
The config that I use in the server is next:
dev tun
proto udp
port 1194
ca ca.crt
cert whezzyVPN.crt
key whezzyVPN.key
dh dh2048.pem
Server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.1.0 255.255.255.0"
keepalive 10 120
tls-aut ta.key 0
comp-lzo
max-clients 10
user nobody
group nogroup
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dchp-option DNS 208.67.220.220"
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status-log
plugin /usr/lib/openvpn/openvn-auth-pam.so openvpn
verb 3
The config that I use with the client is next:
client
dev tun
proto udp
remote ejemplo.sytes.net 1194
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
ca ca.crt
cert usuariovpn.crt
key usuariovpn.key
ns-cert-type server
cipher AES-256-CBC
comp-lzo
verb 3
tls-auth ta.key 1
auth-user-pass
auth-nocache
The log that I obtained when I connect to the VPN is next:
Sun Jan 19 21:55:15 2014 NOTE: --user option is not implemented on Windows
Sun Jan 19 21:55:15 2014 NOTE: --group option is not implemented on Windows
Sun Jan 19 21:55:15 2014 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct 1 2006
Sun Jan 19 21:55:24 2014 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Sun Jan 19 21:55:25 2014 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Sun Jan 19 21:55:25 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jan 19 21:55:25 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jan 19 21:55:25 2014 LZO compression initialized
Sun Jan 19 21:55:25 2014 Control Channel MTU parms [ L:1558 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Jan 19 21:55:27 2014 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Jan 19 21:55:27 2014 Local Options hash (VER=V4): 'xxx066d2'
Sun Jan 19 21:55:27 2014 Expected Remote Options hash (VER=V4): 'xxxb04de'
Sun Jan 19 21:55:27 2014 UDPv4 link local: [undef]
Sun Jan 19 21:55:27 2014 UDPv4 link remote: xx.xxx.xx.246:1194
Sun Jan 19 21:55:30 2014 TLS: Initial packet from xx.xxx.xx.246:1194, sid=xxxxxxf d7969d2d
Anyone has an idea of what's going on?
Thks