sync VPNC split script to dotfiles
This commit is contained in:
parent
ffd1bf9c34
commit
38d6bea20d
@ -1,5 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Initialize empty split tunnel list
|
||||
export CISCO_SPLIT_INC=0
|
||||
|
||||
# Delete DNS info provided by VPN server to use internet DNS
|
||||
# Comment following line to use DNS beyond VPN tunnel
|
||||
unset INTERNAL_IP4_DNS
|
||||
|
||||
# Add one IP to the list of split tunnel
|
||||
add_ip ()
|
||||
{
|
||||
@ -9,19 +16,34 @@ add_ip ()
|
||||
export CISCO_SPLIT_INC=$(($CISCO_SPLIT_INC + 1))
|
||||
}
|
||||
|
||||
# Initialize empty split tunnel list
|
||||
export CISCO_SPLIT_INC=0
|
||||
|
||||
# Delete DNS info provided by VPN server to use internet DNS
|
||||
# Comment following line to use DNS beyond VPN tunnel
|
||||
unset INTERNAL_IP4_DNS
|
||||
|
||||
# List of IPs beyond VPN tunnel
|
||||
add_ip 157.193.40.2 # Helios
|
||||
add_ip 157.193.228.59 # Moriarty
|
||||
add_ip 157.193.16.10 # HPC
|
||||
add_ip 157.193.40.15 # HPC
|
||||
add_ip 157.193.48.109 # Athena
|
||||
add_ip 157.193.48.69 # Athena 2
|
||||
add_ip 157.193.48.176 # Athena 3
|
||||
add_ip 157.193.230.248 # Mycroft
|
||||
add_ip 157.193.228.113 # Sisyphus
|
||||
add_ip 157.193.229.74 # Salmoneus
|
||||
add_ip 157.193.229.60 # Tantalus
|
||||
add_ip 157.193.231.129 # Dodona
|
||||
add_ip 157.193.231.157 # Naos
|
||||
add_ip 157.193.228.61 # Adler
|
||||
add_ip 157.193.228.112 # Lethe
|
||||
add_ip 157.193.43.10 # Files
|
||||
add_ip 157.193.40.10 # Webhost
|
||||
add_ip 157.193.43.107 # Homes
|
||||
add_ip 157.193.47.120 # Webssh
|
||||
add_ip 157.193.43.115 # Gokar
|
||||
add_ip 157.193.231.15 # Subgit
|
||||
add_ip 157.193.172.28 # Alice CI
|
||||
add_ip 157.193.244.73 # Mumble
|
||||
add_ip 157.193.236.29 # ufiler01
|
||||
add_ip 157.193.229.63 # Phocus
|
||||
add_ip 157.193.42.243 # Isis10
|
||||
add_ip 157.193.236.59 # Isilon
|
||||
|
||||
# Execute default script
|
||||
. /etc/vpnc/vpnc-script
|
||||
|
Loading…
Reference in New Issue
Block a user