Joined: 12 Aug 2010
|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:
|push "route 192.168.1.0 255.255.255.0"
server 10.8.0.0 255.255.255.0
keepalive 10 120
management localhost 5001
Client setup on my notebook:
remote xxxxxxxxx.dyndns.org 1194
|iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
iptables -I FORWARD 1 --source 10.8.0.0/24 -j ACCEPT
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
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.