[CentOS] vpn - xl2tpd and routing to a net?

Gordon Messmer gordon.messmer at gmail.com
Tue Jan 26 17:14:15 UTC 2016


On 01/26/2016 05:37 AM, lejeczek wrote:
> vpn clients with established tunnels can get to VPN server's NICs/IPs 
> but cannot get through to the net behind the server.
> Well... they can, but only if on a host (eg. 192.168.2.33) on VPN 
> server's net I do:
>
> route add -host 192.168.2.10 gw 192.168.2.100    # 192.168.2.10 is VPN 
> client 

If the VPN isn't hosted on the device with the default gateway, then 
that route should be added to the gateway device.  Proxy arp is an 
option if you use addresses in the same broadcast domain, but adding a 
route in the gateway device should work for all configurations.



More information about the CentOS mailing list