I have a number of PPPoE customers that I need to create a firewall rule like this one when their session comes up:
20 chain=forward action=change-mss new-mss=clamp-to-pmtu passthrough=no
tcp-flags=syn protocol=tcp in-interface=<pppoe-username> tcp-mss=1453-65535
log=no log-prefix=""
21 chain=forward action=change-mss new-mss=clamp-to-pmtu passthrough=no
tcp-flags=syn protocol=tcp out-interface=<pppoe-username>
tcp-mss=1453-65535 log=no log-prefix=""
I want to use the On Up script section in my PPP server. How would I create these rules as users authenticate?