Community discussions

MikroTik App
 
gigx205
just joined
Topic Author
Posts: 6
Joined: Wed Nov 02, 2011 11:43 am

Interface list problem

Fri Mar 22, 2019 9:27 am

Hi!

I configured some filter firewall rules using the "In.Interface list". Rules are ok and working.
I have created new list under Interface>Interface List called "remote sites".

The follwing configuration:

Interface list:

List Interface

remote sites <l2tp-no1>
remote sites <l2tp-no2>
remote sites <l2tp-no3>

Everything is working, I can track in log for firewall rule what is blocked by all interfaces included in interface list "remote sites".
But, when some of l2tp reconnects you have this:

Interface list:

List Interface

remote sites unknown
remote sites <l2tp-no2>
remote sites unknown

The firewall rule is working ok again because it knows what interface was included before in the list, but the logging stops.

Why mikrotik does not but back the correct name of the this dynamic interface in the interface list how was configured at start?
You can select manually again the interface on the place where says "unknown" but this is little pain to do everytime when some of the l2tp´s reconnects.

Thank in adavance.
 
tangram
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Nov 16, 2016 9:55 pm

Re: Interface list problem

Mon Mar 25, 2019 5:21 pm

use scripting on the ppp profile to update the lists. you can add on-up and on-down scripts.
dynamic interfaces can seem difficult to work with, on the server side, but once you set the right scripts everything works well :)
 
gigx205
just joined
Topic Author
Posts: 6
Joined: Wed Nov 02, 2011 11:43 am

Re: Interface list problem

Wed Mar 27, 2019 1:00 pm

Thanks for a tip!
I choose under ppp profile intreface list name "remote sites". No need for ppp scripts.
it is working!

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 101 guests