VPN into a Secure Environment in Ubuntu
Sunday, March 17, 2013 CDT
by: Eric Potvin
VPN (virtual private network) extends a private network and the resources contained in the network across public networks like the Internet. It enables a host computer to send and receive data across shared or public networks as if it were a private network with all the functionality, security and management policies of the private network. This is done by establishing a virtual point-to-point connection through the use of dedicated connections, encryption, or a combination of the two.
Ubuntu does not come with the VPN tool and for those who needs it, here's what to do.
Install Java JDK
sudo apt-get install openjdk-7-jdk icedtea-7-plugin
Install Juniper VPN Software
jar xf ncLinuxApp.jar
chmod +x ./getx509certificate.sh
chmod go-rwx ~/.vpn-secure.crt
chmod a+x ./ncsvc
Run this in a console, it will ask you for your password (don't run it in the background) It will keep running until you stop it.
sudo ./ncsvc -h
username -f ~/.vpn-secure.crt
Once the password is entered, the connection will be now open to the secure environment. Simply open a new console and type:
Then to close the connection from the secure environment, simply hit control-c from the process that was running in the other console.
Link to this Article
To link directly to this article from your web site, use one of the following snippets below.
VPN into a Secure Environment in Ubuntu | Book Of Zeus
<a href="http://www.bookofzeus.com/articles/vpn-secure-environment-ubuntu/" title="VPN into a Secure Environment in Ubuntu">VPN into a Secure Environment in Ubuntu | Book Of Zeus</a>