Page 1 of 1
L2TP/IPsec VPN
Posted: Tue Feb 27, 2018 10:43 pm
by stefanelul2000
I've setup my VPN using L2TP but I am unable to "see" anything in the VPN LAN while connected. I want to use the VPN without it being a gateway, so just access to that IP addresses. Any idea on how I can fix this?
Thanks
Re: L2TP/IPsec VPN
Posted: Fri Mar 02, 2018 6:53 pm
by brg3466
do you have anything connected to your router, say , a NAS. If you key in the IP address of your NAS after the VPN is established, do you see the NAS log in screen ?
Re: L2TP/IPsec VPN
Posted: Fri Mar 02, 2018 8:21 pm
by Corné
Verify if the route is pushed and known by both sides of the tunnel i.e. you might have the route to the LAN but they cannot send to packets back since the originating IP is unknown.
Re: L2TP/IPsec VPN
Posted: Sun Mar 04, 2018 12:57 am
by ToBeFrank
Set arp=proxy-arp on your LAN interface?
Re: L2TP/IPsec VPN
Posted: Tue Mar 06, 2018 2:18 pm
by stefanelul2000
proxy-arp on lan yes. And when I connect to my vpn I can ping just the router anything else results in a loss of package, including web access, remote desktop or anything else.
Re: L2TP/IPsec VPN
Posted: Tue Mar 06, 2018 10:42 pm
by misucatinas
Can you export configuration from ppp, firewall?
Re: L2TP/IPsec VPN
Posted: Thu Mar 08, 2018 5:41 pm
by stefanelul2000
Long story short, I managed to make the vpn work giving access to LAN and internet but I have a problem. When connected to the vpn I loose access to my local network, what can I do to have access to both the remote vpn network and local network, let's say for example to use a local printer.
Re: L2TP/IPsec VPN
Posted: Thu Mar 08, 2018 5:46 pm
by mrz
By adding routes manually on your PC, not to route specific networks over the tunnel.
Re: L2TP/IPsec VPN
Posted: Thu Mar 08, 2018 5:59 pm
by stefanelul2000
By adding routes manually on your PC, not to route specific networks over the tunnel.
So by default L2TP routes all traffic through the VPN?
How can I manually add routes to my pc and is there any way I only gain access to the network but access the internet using the local network?
Re: L2TP/IPsec VPN
Posted: Thu Mar 08, 2018 6:06 pm
by mrz
Depends what you have set in your client settings, if you set to route everything over VPN then it will do so. How to set routes in your PC refer to OS vendor documentation.