Community discussions

MikroTik App
 
stefanelul2000
newbie
Topic Author
Posts: 25
Joined: Fri Feb 23, 2018 6:08 pm

L2TP/IPsec VPN

Tue Feb 27, 2018 10:43 pm

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
 
brg3466
Member Candidate
Member Candidate
Posts: 177
Joined: Sat Aug 01, 2015 7:29 am

Re: L2TP/IPsec VPN

Fri Mar 02, 2018 6:53 pm

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 ?
 
User avatar
Corné
just joined
Posts: 10
Joined: Fri Dec 15, 2017 11:34 am

Re: L2TP/IPsec VPN

Fri Mar 02, 2018 8:21 pm

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.
 
ToBeFrank
newbie
Posts: 33
Joined: Mon Dec 18, 2017 7:31 pm

Re: L2TP/IPsec VPN

Sun Mar 04, 2018 12:57 am

Set arp=proxy-arp on your LAN interface?
 
stefanelul2000
newbie
Topic Author
Posts: 25
Joined: Fri Feb 23, 2018 6:08 pm

Re: L2TP/IPsec VPN

Tue Mar 06, 2018 2:18 pm

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.
 
misucatinas
newbie
Posts: 32
Joined: Thu Mar 01, 2018 9:11 am

Re: L2TP/IPsec VPN

Tue Mar 06, 2018 10:42 pm

Can you export configuration from ppp, firewall?
 
stefanelul2000
newbie
Topic Author
Posts: 25
Joined: Fri Feb 23, 2018 6:08 pm

Re: L2TP/IPsec VPN

Thu Mar 08, 2018 5:41 pm

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.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: L2TP/IPsec VPN

Thu Mar 08, 2018 5:46 pm

By adding routes manually on your PC, not to route specific networks over the tunnel.
 
stefanelul2000
newbie
Topic Author
Posts: 25
Joined: Fri Feb 23, 2018 6:08 pm

Re: L2TP/IPsec VPN

Thu Mar 08, 2018 5:59 pm

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?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: L2TP/IPsec VPN

Thu Mar 08, 2018 6:06 pm

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.

Who is online

Users browsing this forum: Ahrefs [Bot] and 99 guests