summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'vpn')
-rwxr-xr-xvpn6
1 files changed, 6 insertions, 0 deletions
diff --git a/vpn b/vpn
index 971ecdc..7cff23d 100755
--- a/vpn
+++ b/vpn
@@ -41,6 +41,12 @@ set_terminal_title()
echo -ne "\033]0;$1 VPN\007"
}
+del_route()
+{
+ echo "ip route del $1 via $vpngw dev $devtun"
+ ip route del $1 via $vpngw dev $devtun
+}
+
set_routes()
{
local c=0