Windows server 2008 routing internet traffic

This forum is for admins who are looking to build or expand their OpenVPN setup.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
iperkut
OpenVpn Newbie
Posts: 2
Joined: Sat Jul 27, 2013 10:05 am

Windows server 2008 routing internet traffic

Post by iperkut » Sat Jul 27, 2013 10:29 am

Hi everyone,

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 do it, but it isn't change.
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

XU4MeuXb82E
OpenVpn Newbie
Posts: 5
Joined: Wed Jul 31, 2013 10:42 am

Re: Windows server 2008 routing internet traffic

Post by XU4MeuXb82E » Wed Jul 31, 2013 10:43 am

I am having the same problem ...

Googled all day, most are Linux / UNIX instruction, not much help for Windows configuration.

BTW, I am new to OpenVPN server set up

Post Reply