![]() |
|
![]() |
The install script assumes that init files are in
Install Script: /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/etc/rc.d/init.d
with/etc/init.d
.
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.
Compiling:
The init file copied to
Configuration: /etc/init.d/vpn
or/etc/rc.d/init.d/vpn
assumes 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 = 128.42.83.17 [VPN User] UserName = username IPPrimary = 128.42.83.17 IPEnabled = True ExcludeLocalLAN = False ExcludeDHCP = True UseFTCP = False FTCPDestinationPort = 80 LoginMethod = Shared KeyThe given configuration file appears to work file behind a network address translation (NAT, aka IP Masquerading) gateway. If you have any problems, though, set
UseFTCP
toTrue
. 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 (
Running: /etc/init.d/vpn
or/etc/rc.d/init.d/vpn
).Then, a VPN tunnel must be opened. This is done using the
open_tunnel
script. Assuming the configuration file above, the command line to use isopen_tunnel Rice username
.
128.42.x.y
or
other zzz.rice.edu
IP 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.