From a9ba01279e6f3c64b082f4de6e7d95cd1b5f7dab Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 11 May 2013 13:03:54 +0200 Subject: lots of new stuff and misc changes Signed-off-by: Florian Pritz --- vpn-connect | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 vpn-connect (limited to 'vpn-connect') diff --git a/vpn-connect b/vpn-connect new file mode 100755 index 0000000..692310e --- /dev/null +++ b/vpn-connect @@ -0,0 +1,10 @@ +#!/bin/bash + +vpnc tu.conf + +ip route delete default dev vpntun0 +ip route add default via 192.168.4.1 dev eth0 + +for i in 128.130.0.0/15 192.35.240.0/24 193.170.3.0/24 193.170.72.0/21; do + ip route add $i dev vpntun0 +done -- cgit v1.2.3-24-g4f1b