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

Re: [Openvpn-users] OpenVPN - Pass through router - General LANaccess


  • Subject: Re: [Openvpn-users] OpenVPN - Pass through router - General LANaccess
  • From: gianluca.mascolo@xxxxxxxxxxxxxxxxxx
  • Date: Tue, 13 Jun 2006 11:53:33 +0200 (CEST)
  • Importance: Normal

>
>> Well, in a routed environment you need routes and you need to enable IP
>> forwarding.
>>
>> Do not forget the return routes to your VN connected clients/networks.
>
> thanks for the reply - so....
>
> IP forwarding needs to be enabled on the VPN server and the machines on
> the LAN need their gateway setting to this servers IP??
>
>

- set the gateway on lan clients to your soho router (maybe is already
your currently default gw)

- put a static route into your soho gateway so that
10.0.8.x (or whatever your vpn is) is routed to your VPN server

- enable ip forwarding in your vpn server ONLY
   Linux:  echo 1 > /proc/sys/net/ipv4/ip_forward
   Windows: <http://support.microsoft.com/kb/230082/en-us>
   1.	Use Registry Editor
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
   2.	Set the following registry value:
        Value Name: IPEnableRouter
        Value type: REG_DWORD
        Value Data: 1


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