Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to redirect all traffic through the VPN.

- server.ovpn:

port 1200
proto udp
dev tun
ca "C:\\Program Files (x86)\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\config\\server.crt"
key "C:\\Program Files (x86)\\OpenVPN\\config\\server.key"
dh "C:\\Program Files (x86)\\OpenVPN\\config\\dh2048.pem"
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS"
push "dhcp-option DNS"
keepalive 10 120
tls-auth "C:\\Program Files (x86)\\OpenVPN\\config\\ta.key" 0 
cipher AES-256-CBC
status openvpn-status.log
verb 3

client.ovpn: Code:

dev tun
proto udp
remote 1200
resolv-retry infinite
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
cipher AES-256-CBC
verb 3
  • I edited IpEnableRuter in registry to 1.
  • I added rules to firewall
  • And yes, I can ping my server

When I connect to this VPN: - Ping/tracert shows: Time limit exceded - I can't even ping to server)

share|improve this question
up vote 0 down vote accepted

I had to install NAT on my server.

I posted a wikipost on OpenVPN: NatOverWINDOWS2008

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .