add new path to config file

This commit is contained in:
Roy Olav Purser 2024-02-10 18:00:45 +01:00
parent 42af0652e4
commit d03c722517
Signed by: roypur
GPG Key ID: 063DAA01D56E28CB

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
wg setconf vpn /snacks/wireguard/wg.conf wg setconf vpn /run/vpnclient/wg.conf
ip link set dev vpn up ip link set dev vpn up
ip addr flush dev vpn ip addr flush dev vpn
ip route flush dev vpn ip route flush dev vpn