I've got a problem with my openVPN...
I run openVPN on a windows 2008 r2 server and my client running a w7
My server conf :
Code: Select all
IP : 5.39.xx.xxx
Mask : 255.255.255.255
Gateway : 188.165.254.254
DNS : 8.8.8.8
My server conf file :
Code: Select all
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\vps-system.crt"
key "C:\\Program Files\\OpenVPN\\config\\vps-system.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway"
push "dhcp-option DNS 10.8.0.1"
push "dhcp-option WINS 10.8.0.1"
keepalive 10 120
cipher BF-CBC
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 5
My client conf file
Code: Select all
client
dev tun
proto udp
remote 5.39.xx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\VPS\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\VPS\\mathieu-laptop.crt"
key "C:\\Program Files\\OpenVPN\\config\\VPS\\mathieu-laptop.key"
ns-cert-type server
cipher BF-CBC
comp-lzo
verb 5
log VPS.log
route-method exe
route-delay 2
My problem is simple, VPN connection is OK, from my client i can ping my server but my internet traffic isn't routing throught my server.
I've read on forum that i need to add this line in client conf :
Code: Select all
route-method exe
route-delay 2
I also try to play with
Code: Select all
push "redirect-gateway" or push "redirect-gateway def1"
Windows firewall is desactivate on each side.
I realy dont see where the problem could be....
Thanks