OpenVPN traffic redirection on Windows?

I have a Linux OpenVPN server and a Windows 7 OpenVPN GUI client. The Linux server is set up fine (I think) and I can establish a connection between the two, but I can’t seem to force the Windows client to redirect traffic through the VPN.

I’ve googled this for hours to no avail, and I’m not sure what I’m doing wrong.

This is the OpenVPN server config:

proto tcp-server
port 443
dev tap
secret ovpn.key
push "redirect-gateway def1"

And the client:

dev tap
proto tcp-client
remote (ip address) 443
resolv-retry infinite
route-delay 2
route-method exe
secret amz.key
verb 3

After they connect, all the client’s traffic still goes through its normal paths. What am I doing wrong? :confused:

After the connection is established, on the client issue an ipconfig/all and route print to ensure that the settings are as they should be. Use traceroute to determine where packets are going astray, too.


I tried that, and it seemed like routes weren’t being configured by the OpenVPN client at all.

I tried to manually add a route and gave it a lower metric, but the metric wouldn’t take hold for some reason and it never went in effect. :confused:

I eventually just gave up and went with PPTP, which was so much simpler to set up.