I want to use OpenVPN on an old WinXP machine. I want to restrict the outgoing traffic to only the tunnel. So I created a default route to a none existing ip address and a persistent route to the VPN Server. Now I can connect OpenVPN to the server and all traffic goes through the tunnel und if I lose the connection, the old default route will direct the traffic towards nirvana. The nirvana IP address is: 192.168.40.77
My VPN Provider offers me two servers. On one server this method works, on the second dont. I cant ping web addreses (no dns registered) nor ping the ip numbers directly. Whats the problem?
The following infos are taken if I connect to the "not working" server:
Code: Select all
C:\Documents and Settings\Administrator>ipconfig
Ethernet adapter Local Area Connection 6:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.11.12.13
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . : 10.11.12.14
Code: Select all
C:\Documents and Settings\Administrator>route PRINT
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 128.0.0.0 10.11.12.13 10.11.12.14 1
0.0.0.0 0.0.0.0 192.168.40.77 192.168.40.155 10
10.11.12.1 255.255.255.255 10.11.12.13 10.11.12.14 1
10.11.12.12 255.255.255.252 10.11.12.14 10.11.12.14 30
10.11.12.14 255.255.255.255 127.0.0.1 127.0.0.1 30
10.255.255.255 255.255.255.255 10.11.12.14 10.11.12.14 30
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
128.0.0.0 128.0.0.0 10.11.12.13 10.11.12.14 1
178.73.212.230 255.255.255.255 192.168.40.2 192.168.40.155 1
178.73.212.231 255.255.255.255 192.168.40.2 192.168.40.155 1
178.73.212.231 255.255.255.255 192.168.40.77 192.168.40.155 1
192.168.40.0 255.255.255.0 192.168.40.155 192.168.40.155 10
192.168.40.155 255.255.255.255 127.0.0.1 127.0.0.1 10
192.168.40.255 255.255.255.255 192.168.40.155 192.168.40.155 10
224.0.0.0 240.0.0.0 10.11.12.14 10.11.12.14 30
224.0.0.0 240.0.0.0 192.168.40.155 192.168.40.155 10
255.255.255.255 255.255.255.255 10.11.12.14 10.11.12.14 1
255.255.255.255 255.255.255.255 192.168.40.155 192.168.40.155 1
Default Gateway: 10.11.12.13
Code: Select all
float
client
nobind
dev tun
proto udp
; Cert
ca ..\\keys\\ca.crt
ns-cert-type server
cipher BF-CBC
;Host
remote-random
remote w.x.y.z 1194
remote a.b.c.d 1194
resolv-retry infinite
;auth
auth-user-pass connect
persist-key
persist-tun
register-dns
comp-lzo
verb 2
Thanks
Peter