Posted: Tue May 08, 2012 21:45 Post subject: OpenVPN share internet connection with client
I've a wrt160n with DD-WRT (18946M NEWD-2 K2.6 Eko). Last week I've set up an OpenVPN server on it and a client on my notebook. I can connect to it without any trouble, but I don't know how to get internet access througth it.
Server config on wrt160n with DD-WRT:
Code:
push "route 192.168.1.0 255.255.255.0"
server 10.8.0.0 255.255.255.0
dev tun0
proto udp
keepalive 10 120
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
management localhost 5001
Client setup on my notebook:
Code:
client
dev tun
proto udp
remote xxxxxxxxx.dyndns.org 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert PabloNotebook.crt
key PabloNotebook.key
What else I need to use the internet connection behind OpenVPN on my notebook?
I've been searching info about this for 2 days (googling, searching on DDWRT, doing some tests). There are a lot of questions like this but on different situations, and I've tried all the answers I'd found with no luck.
I've tried ping other IPs on the router network and got no answer.