Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
tls-auth "C:\\Program Files (x86)\\OpenVPN\\config\\ta.key" 0 
cipher AES-256-CBC
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3

client.ovpn: Code:

client
dev tun
proto udp
remote disaderp.eu 1200
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
cipher AES-256-CBC
comp-lzo
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 10.8.0.1(VPN server)

share|improve this question

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.