Hi! Few days ago I started configuring an OpenVPN Server in Windows 2008 machine. So far everything looked working properly, but today I found something strange. While in browser, my IP was the same as the VPN Server. But when I connected via FTP in some server, I saw the ftp server got my real IP address :shock: !!
Here is my server.ovpn file:
local 179.43.145.251
mode server
port 1194
dev tun
dev-node VPN
server 10.10.1.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
comp-lzo
tls-server
tls-auth keys/shared.key 0
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh4096.pem
keepalive 10 60
max-clients 50
cipher AES-256-CBC
script-security 2
tls-verify "C:\\RevokerMgr.exe"
My client ovpn is:
client
dev tun
proto udp
port 1194
remote 179.43.145.251
nobind
persist-tun
persist-key
tls-client
ca teste/ca.crt
cert teste/Test.crt
key teste/Test.key
tls-auth teste/shared.key 1
ns-cert-type server
keepalive 10 60
comp-lzo
route-method exe
route-delay 2
cipher AES-256-CBC
And my logs from GUI when I connect are:
Fri Sep 26 19:52:16 2014 OpenVPN 2.3.4 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 7 2014
Fri Sep 26 19:52:16 2014 library versions: OpenSSL 1.0.1i 6 Aug 2014, LZO 2.05
Fri Sep 26 19:52:17 2014 Control Channel Authentication: using 'teste/shared.key' as a OpenVPN static key file
Fri Sep 26 19:52:17 2014 UDPv4 link local: [undef]
Fri Sep 26 19:52:17 2014 UDPv4 link remote: [AF_INET]179.43.145.251:1194
Fri Sep 26 19:52:25 2014 [PrivMe] Peer Connection Initiated with [AF_INET]179.43.145.251:1194
Fri Sep 26 19:52:27 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Fri Sep 26 19:52:27 2014 open_tun, tt->ipv6=0
Fri Sep 26 19:52:27 2014 TAP-WIN32 device [Conexão local] opened: \\.\Global\{AE42B2DF-B921-4B40-B330-75F48AA4CF08}.tap
Fri Sep 26 19:52:27 2014 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.10.1.6/255.255.255.252 on interface {AE42B2DF-B921-4B40-B330-75F48AA4CF08} [DHCP-serv: 10.10.1.5, lease-time: 31536000]
Fri Sep 26 19:52:27 2014 Successful ARP Flush on interface [14] {AE42B2DF-B921-4B40-B330-75F48AA4CF08}
Fri Sep 26 19:52:29 2014 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Fri Sep 26 19:52:29 2014 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Fri Sep 26 19:52:29 2014 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Fri Sep 26 19:52:29 2014 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Fri Sep 26 19:52:29 2014 Initialization Sequence Completed
Any idea guys??