on serverside:
in server.conf i put push "redirect-gateway def1"
and i enabled routing via iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
on clientside:
actually nothing, server does it all for the client, i start it on win7 with: openvpn.exe --config client.ovpn
now my routing table looks like this, Realtek is my physical network interface card and the physical gateway is 192.168.2.1. My pc's ip is 192.168.2.199:
http://pastebin.com/1XPVVeab
When using "push redirect-gateway" instead in the server.conf it looks like that:
http://pastebin.com/gPkupPSz
Both are not working, what am i doing wrong? I can't ping the gateway 10.8.0.5, but the vpn can't either ping it's gateway. I can ping vpn 10.8.0.1.
Guess there's something wrong with the routing table, but OpenVPN is creating it, not me
