Hi, I'm running an OpenVPN Server on a Windows machine and a OpenVPN Client on the other one.
These VPNs are connected through the Internet, while on client side the traffic is forced to pass a Proxy. However i managed to establish a connection between these machines, but I cannot ping the default Gateway (IP of the Server(10.8.0.1)).
The client gets the IP 10.8.0.6 from the DHCP Server of the VPN Server.
So what i want to do is to route all the traffic through that tunnel. I know that there are a lot of Informations about that in the Tutorials of OpenVPN and in the Internet in general, but however I didnt manage to make it work.
#server.ovpn
port 443
proto tcp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"
<dh>
-----BEGIN DH PARAMETERS-----
MIGHAoGBAIdKR+fA5j3HEpz42kVJr0DICcbMsK1Euq7W5B7CwV7wRU0jUm86VPln
XAf4W3G0BA6cXXYACtgyKNBu97TxVmutQXdTRD1P12x9yHbCOUHzzO4u5lu5w5Kz
BzuEcx/JcI0RrHXO7kZNw9g7O0IS26uIUTPjMFOBNm8+y7AXkPn7AgEC
-----END DH PARAMETERS-----
</dh>
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.8.0.0 255.255.255.0"
push "redirect-gateway"
push "route 0.0.0.0 0.0.0.0"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
#Client.ovpn
client
dev tun
proto tcp
remote vpn0000000.softether.net 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\client.crt"
key "C:\\Program Files\\OpenVPN\\config\\client.key"
ns-cert-type server
comp-lzo
verb 3
;mute 20
Sorry for my english and thanks a lot