[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Re: MULTI: bad source address from client


  • Subject: [Openvpn-users] Re: MULTI: bad source address from client
  • From: Mark Hellman <markhellman@xxxxxxxxxx>
  • Date: Wed, 02 Feb 2005 03:09:36 +0000

Well, I seem to have figured it out.
It looks like tun0 subnet must lie within the remote (server) LAN's subnet.
If the server's LAN is 192.168.1.0/24, then on the client I should have a
routing entry like the following:
     192.168.1.16    192.168.1.17    255.255.255.240 UG    0      0   0 tun0
The VPN subnet needs to have a narrower netmask (in this case /28) in order
to lie within the server's subnet. Apparently, this is the only way I can
reach other hosts on the server's LAN and also browse the web through the
VPN. proxy_arp and ip_forward need to be set, though.


Mark


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users