I need to do this:
When a PPPoE client connect to server the script add its interface to
/ip upnp interface
I wrote this on-UP:
:ip upnp interfaces add interface=$interface type=internal
And it works...
The problem is remove that interface when the client disconnect....
I wrote this on-DOWN
:ip upnp interfaces remove [/ip upnp interfaces find interface=<$interface>]
or
:ip upnp interfaces remove [/ip upnp interfaces find interface=$interface]
It doesn't work...
in interface list there are an "unknown" entry for every disconnection
Please help, also workaround is good ex. a way for remove all interface called unknown
[/ip upnp interfaces find interface=unknown] <-doesnt work
![Sad :(](./images/smilies/icon_sad.gif)
Thanks