wireguard
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wireguard [2026/08/02 10:14] – baumi | wireguard [2026/08/02 10:15] (current) – baumi | ||
|---|---|---|---|
| Line 95: | Line 95: | ||
| </ | </ | ||
| - | ===== Fallback systemd | + | ===== Fallback systemd |
| < | < | ||
| - | root@hostb #cat << EOF > / | + | root@hostb # cat << EOF > / |
| [Unit] | [Unit] | ||
| Description=WireGuard wg0 shutdown fallback | Description=WireGuard wg0 shutdown fallback | ||
| Line 114: | Line 114: | ||
| ExecStart=/ | ExecStart=/ | ||
| - | ExecStop=/ | + | ExecStop=/ |
| TimeoutStopSec=30 | TimeoutStopSec=30 | ||
| Line 121: | Line 121: | ||
| WantedBy=multi-user.target | WantedBy=multi-user.target | ||
| EOF | EOF | ||
| - | root@hostb #systemctl daemon-reload | + | root@hostb # systemctl daemon-reload |
| - | root@hostb #systemctl enable wg0-shutdown-fallback.service | + | root@hostb # systemctl enable wg0-shutdown-fallback.service |
| - | root@hostb #systemctl start wg0-shutdown-fallback.service | + | root@hostb # systemctl start wg0-shutdown-fallback.service |
| </ | </ | ||
| {{tag>kb linux}} | {{tag>kb linux}} | ||
wireguard.1785658486.txt.gz · Last modified: by baumi
