[KLUG Members] OpenVPN & DHCP

bill bill at billtron.com
Mon Jun 20 19:14:24 EDT 2005


On Mon, 2005-06-20 at 08:27, Adam Tauno Williams wrote:
> > I'm getting very close to testing an OpenVPN setup, but have become
> > stumped at the server config.
> 
> Perhaps a little ASCII art would help clarify this for us.

O.K. So now I'm testing.

Winxp client - internet - fwfirewall - OpenVPN server on inside LAN	

The Winbox is using Dial up. (some dialup IP & 192.168.1.6 for vpn)

Openvpn is on the internal LAN at 192.168.0.104

	OpenVPN server.conf says 192.168.1.0 255.255.255.0
	Ifconfig says tun0 is 192.168.1.1

	Using tun not tap (routing not bridging)
	OpenVPN server is using one physical eth device

I can connect and, once I disable the software firewall on the OpenVPN
box, the client can ping to the tun0 interface (192.168.1.1)

But, the client cannot ping any of the LAN IPs, not even the one on the
OpenVPN box, 192.168.0.104

A quick check of the OpenVPN docs says:


On Linux, use the command:


        echo 1 > /proc/sys/net/ipv4/ip_forward
        
I did that, as root, while the OpenVPN connection was up but the client
still can't ping the remote LAN.

Suggestions?

kind regards,

bill



More information about the Members mailing list