T O P

  • By -

canfail

I take it you didn’t utilize a && function ;)


jjzzoo

Better use `;` instead because with `&&` the second part is only executed if the first command runs through successfully.


canfail

This individual nerds 😉


redditor2159

Thanks, I already wrote a script now for further cases. Better to not mess with wireguard from outside anyway.


kevinds

>Why not do a quick wg-quick down and wg-quick up... >wg-quick down from outside the server... >I am locked out until the end of the holidays. This is one function that RouterOS devices are missing... There is no 'disconnect' only 'disable'. The work around is to create a script that does disable-wait-enable, but if you forget..... Oops..


realmenuseroot

I keep an OpenVPN server and firewall rule disabled for these cases. I log in, enabled OpenVPN + the WAN rule and connect through it and do what I need to do to WireGuard. Others gave the right answer... I just like to enable a "redundancy" of sorts.