Code: Select all
/interface wireguard set wireguard1 on-up=WireGuardConnectScript
Code: Select all
/system script add name=WireGuardConnectScript source={
:log info "Wireguard Login from $peername"
}
/interface wireguard set wireguard1 on-up=WireGuardConnectScript
/system script add name=WireGuardConnectScript source={
:log info "Wireguard Login from $peername"
}
wireguard ("users") peers do not loginHello I try to run a script when a user login via Wireguard. Is that possible? This is what I have:andCode: Select all/interface wireguard set wireguard1 on-up=WireGuardConnectScript
Thanks for helping me outCode: Select all/system script add name=WireGuardConnectScript source={ :log info "Wireguard Login from $peername" }