summary refs log tree commit diff
path: root/fvpnd_stop.sh
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-07-31 17:12:27 +0300
committerNakidai <nakidai@disroot.org>2025-07-31 17:12:27 +0300
commitb4709429ed88563982412a5a027b92143c37e268 (patch)
treecd56dfeac7cafcfcb69925b12376d79b8776d3fd /fvpnd_stop.sh
downloadfatvpn-1.0.0.tar.gz
fatvpn-1.0.0.zip
Add files v1.0.0
Diffstat (limited to 'fvpnd_stop.sh')
-rwxr-xr-xfvpnd_stop.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/fvpnd_stop.sh b/fvpnd_stop.sh
new file mode 100755
index 0000000..bed0acc
--- /dev/null
+++ b/fvpnd_stop.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TAP=fvpn0
+
+killall fatvpnd
+ip link set $TAP down
+ip tuntap del $TAP mode tap
+
+