Mikrotik Ppp Profile Script -

User "branch-office-01" has a LAN subnet of 192.168.50.0/24 . When they connect via L2TP, we want the HQ router to route traffic for 192.168.50.0/24 through the tunnel.

:if ($user = "branch-office-01") do={ /ip route add dst-address=192.168.50.0/24 gateway=$remote-address comment="Route for Branch 01" } mikrotik ppp profile script

You have a "Guest" profile. You want to ensure guests can access the internet but cannot access your local server at 10.10.10.5 . While you can do this with a general firewall rule User "branch-office-01" has a LAN subnet of 192