Hello,
our customers are allowed to login multiple times with the same account (PPPoE, Radius)
but i want a single account to just be able to contact 2 servers in the Internet (ACS,DNS).
But this special service account is for configuring our customers routers.
The router uses it to geht his inital config via acs, so the router has to contact the acs server.
I already tried to solve the Problem with loops e.g. foreach but did not come to a solution.
I created an address-list and 6 firewall rules which work.
the address-list gets updated every 30 seconds with the following script:
/ip firewall address-list remove [find list=serviceaccount]
/ip firewall address-list add list=serviceaccount address=[/ppp active get [find name=pppoeserviceaccount] address ]
This works as long as the account is just logged in once.
Has anybody an idea how script this?