Community discussions

MikroTik App
 
jrollandoz
just joined
Topic Author
Posts: 6
Joined: Wed Aug 29, 2018 3:43 pm
Location: Aosta, Italy
Contact:

PPP on a specific Wan connection

Thu Jan 28, 2021 10:18 am

Hello everyone,

On a remote mikrotik i have a PPPoE on eth1 interface, and another WAN on eth2.

To manage this Mikrotik i've created an L2TP tunnel to my Mikrotik Routerboard. So i've an L2TP client pointing to hostname of my public IP.

How can i configure it so that this L2TP comes out on wan1 or wan2? Using mangle or how?

Thanks people
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: PPP on a specific Wan connection

Thu Jan 28, 2021 3:14 pm

There are different ways. If the server has static public address, then the easiest is probably to add route to this address via gateway of either wan1 or wan2.
 
jrollandoz
just joined
Topic Author
Posts: 6
Joined: Wed Aug 29, 2018 3:43 pm
Location: Aosta, Italy
Contact:

Re: PPP on a specific Wan connection

Fri Jan 29, 2021 3:47 pm

Thank you!

it's simpler than I thought. i Will try this way.
 
jrollandoz
just joined
Topic Author
Posts: 6
Joined: Wed Aug 29, 2018 3:43 pm
Location: Aosta, Italy
Contact:

Re: PPP on a specific Wan connection

Fri Mar 19, 2021 4:54 pm

Hi,

i have a new difficulty.

Another vpn connect to this mikrotik, but it has no static IP, how can i route it back on the wan i want?
Last edited by jrollandoz on Mon Mar 22, 2021 6:42 pm, edited 1 time in total.
 
jrollandoz
just joined
Topic Author
Posts: 6
Joined: Wed Aug 29, 2018 3:43 pm
Location: Aosta, Italy
Contact:

Re: PPP on a specific Wan connection

Mon Mar 22, 2021 6:41 pm

Hi,

i have a new difficulty.

Another vpn connect to this mikrotik, but it has no static IP, how can i route it back on the wan i want?
Someone can help me?
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: PPP on a specific Wan connection

Mon Mar 22, 2021 8:38 pm

Everything you need should be in this post. The last paragraph explains its relationship to your case.

Who is online

Users browsing this forum: Huy0880, mquan1984 and 125 guests