2
I have OpenVPN client setup on DD-WRT openvpn small.
client connects and can use traceroute to verify everything is tunneling out the openvpn connection.
ip_forward is 1.
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE
The lan client can connect to the internet through the DD-WRT router when it's not connected to OpenVPN.
Once connected, I cannot access the internet through the Lan client, I'm wondering what i'm missing, been trying to get this working for days.
This : http://www.dd-wrt.com/phpBB2/viewtopic.php?t=35689 : may also help you. (Everything you need is in first post now) I helped contribute to thread years ago.. Though, I haven't run openvpn on dd-wrt in a bit, it should still be of help.
– bshea – 2016-08-22T23:04:29.9471Hi Andy,
Thanks for your response, it's not a split tunnel traffic, I want to send all traffic down the OpenVPN tunnel.
Basic idea is this
1x Router connect to WAN Port providing internet access. 1x Router configured as the OpenVPN device (DD-WRT)
Normal lan/wifi traffic get's DHCP from router one connected to the WAN.
other clients are configured to point to router 2.
I can do a traceroute on a DD-WRT router and traffic is going out the VPN tunnel, but Lan clients pointed to the DD-WRT router dont get any access at all. – None – 2010-12-20T07:07:35.480
No problem. I'd start by adding a log line to the end of all your iptables chains, and see if anything's being dropped. – Andy Smith – 2010-12-20T11:41:03.143