vn-connect - start a virtual network connection to remote host.
vn-connect [ -c <config_file> ] [ -d ] [ -v ] <hostid>
vn-connect is a Bourne/Bash shell script which should work equally well on all versions of UNIX and Linux.
The script is designed to be used in support of other utilities such as .IR rhost. The < hostid > is used as the key to look up the connection method and other parameters in the configuration file which are used to make the necessary vn-connection (usually a VPN) either directly to the target host or to a nominated gateway.
-c <configuration_file> Use the named configuration file in preference to the default " /usr/local/etc/vn-connect.cf ".
-d Set debug mode on. Debug mode uses the -x mode to echo each command to standard error before it is executed.
-v Sets verbose mode. Significant actions are reported to standard error .
vn-connect la1
Look up "la1" in the configuration file. If found and a VPN is required use the other parameters found in the "la1" stanza to start a virtual network connection the host or the indicated gateway. Set the route if required.
The script has very little input error checking.
Clifford W Fulford, City Linux. Contact fulford@fulford.net or +44 (0)709 229 5385.
Copyright
© 2003-2017
Clifford W Fulford.
Fulford Consulting Ltd.
Regd. Co. 4250037 in England & Wales.
Regd. office 162, Edward Rd. Nottingham NG2 5GF, England, UK.
Related web sites: City Linux | Flare Support | West Bridgford | Fulford Portal | Joan Mary Fulford (Nottingham Writer) | Fulford Gallery | Amharic Interpreter | Arabic Interpreter | Tigrinya Interpreter
The layout and associated style sheets for this page are taken from the World Wide Web Consortium and used here under the W3C software licence.