Page 1 of 1

vpn

Posted: Wed Apr 24, 2019 12:29 am
by mcnick50
hello,
i need your help for the below setup.

i have 2 sites with both mikrotik routers with pppoe client (both dynamic ip), and i want to setup vpn between them. site 1 24mbp and site 2 50mbps bandwidth.

on the 1st site i have succesfully setup l2tp ipsec vpn and i can conecto from my laptop using the fqdn address from /ip cloud.

on the second site i managed to setup l2tp client again with the fqdn and everything work grate except one thing. the whole traffic goes through the vpn and is very slow. is there any way to use the local bandwidth and not the one from vpn? if not is there any way to have on site 2 only one interface with vpn (ex. eth1 pppoe, eth2-4 bridge and eth5 vpn)???

Re: vpn

Posted: Tue Apr 30, 2019 11:41 am
by mcnick50
anyone????

Re: vpn

Posted: Wed May 01, 2019 11:49 pm
by lambert
At the second site, configure your L2TP connection not to install a default route crossing the VPN.

Re: vpn

Posted: Fri May 03, 2019 1:07 pm
by mcnick50
At the second site, configure your L2TP connection not to install a default route crossing the VPN.
if i do not add my vpn as a default route i do not have access to my vpn network...

Re: vpn

Posted: Fri May 03, 2019 1:24 pm
by Exiver
You should just add the specific routes for both other networks.

Example:

Network #1: 192.168.0.0/24 (Router 192.168.0.1 has route to 192.168.1.0/24 via <l2tp-interface>)
Network #2: 192.168.1.0/24 (Router 192.168.1.1 has route to 192.168.0.0/24 via <l2tp-interface>)

Each VPN endpoints should have a route pointing only to the corresponding network. Since l2tp adds interfaces you can easily route the networks over that interface. Default route should be your already existing internet breakout.