Oliver Baltzer oliver at hytek.org
Sat Nov 28 22:20:28 AST 2009

John Stanton wrote:
> I am having some route issues with OpenVPN. 
> LAN:
> VPN:
> I can connect to the VPN with no issues. But I cannot access anything on
> the LAN.
> I have the below in my server.conf:
> push "route"
> client-to-client

I assume the VPN server runs a recent Linux.

Make sure you have routing enabled on the OpenVPN server:

# cat /proc/sys/net/ipv4/ip_forward

Also, your LAN hosts need to know the route back to the VPN client, e.g.
# route add -net gw vpnserver

or you need to setup masquerading / NAT between the VPN network and the LAN:
# iptables -t nat -A -s -d -j MASQUERADE
# iptables -t nat -A -s -o eth0 -j MASQUERADE

I hope this helps.


More information about the nSLUG mailing list