Skip to content

Commit 9cd4cb9

Browse files
Update add-vpn-user.sh reload wg0 after
1 parent 9f2274a commit 9cd4cb9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vpn-client/playbooks/templates/add-vpn-user.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ EOF
6767

6868
echo "Client configuration saved as client_${CLIENT_IP}.conf"
6969

70+
echo reloading wireguard without killing active connections
71+
wg syncconf wg0 <(wg-quick strip wg0)
72+

0 commit comments

Comments
 (0)