/ip firewall address-list add address=$remote-address list="ppp-active" timeout=1d comment=$user

While profiles have built-in rate limits, scripts can create more complex Simple Queues using the $user and $"remote-address" variables.

Always use a unique comment (e.g., dynamic-from-$user-$interface ) so the on-down script can clean up rules, routes, or queues without affecting other clients.

Send emails or SMS notifications when an ISP link (PPPoE client) goes down to monitor uptime.

/ip firewall filter add chain=input src-address=$remote-address dst-address=$rdpTarget dst-port=3389 protocol=tcp action=accept comment="$comment" :log info "Opened RDP for $user from $remote-address"

'link' | Mikrotik Ppp Profile Script

/ip firewall address-list add address=$remote-address list="ppp-active" timeout=1d comment=$user

While profiles have built-in rate limits, scripts can create more complex Simple Queues using the $user and $"remote-address" variables. mikrotik ppp profile script

Always use a unique comment (e.g., dynamic-from-$user-$interface ) so the on-down script can clean up rules, routes, or queues without affecting other clients. mikrotik ppp profile script

Send emails or SMS notifications when an ISP link (PPPoE client) goes down to monitor uptime. mikrotik ppp profile script

/ip firewall filter add chain=input src-address=$remote-address dst-address=$rdpTarget dst-port=3389 protocol=tcp action=accept comment="$comment" :log info "Opened RDP for $user from $remote-address"