Hello, I hope that you can help me because I am starting to get frustated. I googled a lot and went through a lot of HOWTOs but unfortunately without succes.
What I want to do is to connect to networks which use public IP's via an openvpn tunnel.
I thought that the easiest way would be to first establish a connection between an ovpnserver server , lets say in Athens and the client in Dublin.
I managed to establish a connection between client and server, but without pushing the whole internet traffic through the server.
While tracerouting 8.8.8.8 (Google's DNS) the whole traffic goes through the backbone of my local provider and not through the opvpnserver. Furthermore, get the following error when a connection is established at the client side:
Thu Feb 21 18:11:47 2013 NOTE: unable to redirect default gateway -- VPN gateway parameter (--route-gateway or --ifconfig) is missing
Server conf:
mode server
tls-server
local A.A.x.x
port 15000
proto udp
dev tap1
persist-key
persist-tun
ca /ca.crt
cert /server.crt
key /server.key
dh /dh1024.pem
push "route add default dev tap0"
push "dhcp-option DNS D.N.S.IP"
push "redirect-gateway def1"
client-to-client
keepalive 10 120
comp-lzo adaptive
status openvpn-status.log
verb 4
duplicate-cn
And my client:
client
remote A.A.x.x 15000
dev tap0
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 2
script-security 2
ca /ca.crt
cert /client.crt
key /client.key
The next step would be to connect the computers in Dublin using one vpn client with Athens, however this is an other issue.
Any help would be greatly appreciated.