Community discussions

MikroTik App
 
fbuster
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Sat May 02, 2015 12:52 pm
Location: BE

Using L2TP/Ipsec vpn using same subnet as lan?

Fri Feb 15, 2019 8:42 pm

I'm setting up a L2TP/ipsec server from my mikrotik to be able to remotely login from my phone.

Can i choose an ip range for the vpn to be in the same subnet as the lan connected to my router?

I would like to connect to a camera on my lan from the remote vpn device.

Do i need to use proxy-arp ?
 
idlemind
Forum Guru
Forum Guru
Posts: 1146
Joined: Fri Mar 24, 2017 11:15 pm
Location: USA

Re: Using L2TP/Ipsec vpn using same subnet as lan?

Mon Feb 18, 2019 3:25 am

Yes you can use proxy ARP for that but it's not true layer 2 adjacency. If your camera solution requires that you'll want to look at BCP or PPP based bridging to see if that works on your phone. Otherwise find a camera system that works under normal IP routing scenarios. Proxy ARP is a crutch, has security implications and generally is a bad practice for you to rely on it.