Přidat Linux/ssh_after_wg.txt
This commit is contained in:
parent
8670d1719f
commit
3a17973923
8
Linux/ssh_after_wg.txt
Normal file
8
Linux/ssh_after_wg.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
edit :
|
||||||
|
/etc/systemd/system/sshd.service
|
||||||
|
add and change :
|
||||||
|
After=network.target wg-quick@wg0.service
|
||||||
|
Requires=sys-devices-virtual-net-wg0.device
|
||||||
|
service :
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl restart sshd
|
||||||
Loading…
Reference in New Issue
Block a user