scripts for connecting/disconnecting to my VPN
This commit is contained in:
parent
44f63c31da
commit
1d7dc6761f
4
pkgs/sane-scripts/src/bin/sane-vpn-down
Executable file
4
pkgs/sane-scripts/src/bin/sane-vpn-down
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
echo vpn: $(curl https://ipinfo.io/ip)
|
||||||
|
sudo systemctl stop wg-quick-ovpnd
|
||||||
|
echo plain: $(curl https://ipinfo.io/ip)
|
4
pkgs/sane-scripts/src/bin/sane-vpn-up
Executable file
4
pkgs/sane-scripts/src/bin/sane-vpn-up
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
echo plain: $(curl https://ipinfo.io/ip)
|
||||||
|
sudo systemctl start wg-quick-ovpnd
|
||||||
|
echo vpn: $(curl https://ipinfo.io/ip)
|
Loading…
Reference in New Issue
Block a user