summaryrefslogtreecommitdiffstats
path: root/vpn-connect
blob: 692310e8b45261ca767de85c36d53bf6589f5698 (plain)
1
2
3
4
5
6
7
8
9
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