Commands
Frequent Commands¶
Generate new private key¶
Generate new public key¶
then paste the private key and input Ctrl+D
Manage wireguard daemon¶
via systemd.
# use config /etc/wireguard/wg0.conf
$ sudo systemctl enable --now [email protected]
$ sudo systemctl disable --now [email protected]
$ sudo systemctl restart [email protected]
Check running status¶
最後更新:
2023-01-27 23:09:25
建立日期: 2023-01-27 23:09:25
建立日期: 2023-01-27 23:09:25