The install script assumes that init files are in
/etc/rc.d/init.d. This is not the case in Debian or recent releases of Red Hat. In these cases, you should search and replace all occurences of
The install script (which also compiles the kernel module) assumes a complete kernel hierarchy. Note that on Debian systems when a default kernel is used, you should install the kernel headers package for that kernel version, and point the install script to this directory.
The init file copied to
/etc/rc.d/init.d/vpnassumes a Red Hat 6.x setup. In particular, it sources
/etc/rc.d/init.d/functions. On later Red Hat systems, this should be changed to
/etc/init.d/functions. On Debian systems, this line should be commented out.
The default configuration file (
/etc/vpn_config) should be modified with Rice-appropriate settings. The following is an example of such a configuration file:[VPN Partner Aliases] Rice = 22.214.171.124 [VPN User] UserName = username IPPrimary = 126.96.36.199 IPEnabled = True ExcludeLocalLAN = False ExcludeDHCP = True UseFTCP = False FTCPDestinationPort = 80 LoginMethod = Shared Key
The given configuration file appears to work file behind a network address translation (NAT, aka IP Masquerading) gateway. If you have any problems, though, set
True. Also, don't forget to replace username with your username.
Starting vpn happens in two parts. First, the vpn module must be loaded. This is done with by running the init script (
Then, a VPN tunnel must be opened. This is done using the
open_tunnelscript. Assuming the configuration file above, the command line to use is
open_tunnel Rice username.
zzz.rice.eduIP addresses is routed through the VPN. The problem is that some sites, notably online references available through the Fondren Library website, require that the connection come from Rice University.
It is not possible to change from one mode to the other without effectively deleting your VPN account and getting a new one. with a normal account, even traffic that doesn't need to is routed through the VPN. If the VPN is shut off (for instance, to allow for more efficient access to outside websites), all connections will be terminated.