<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gobblerpedia.org/w/index.php?action=history&amp;feed=atom&amp;title=VPN</id>
	<title>VPN - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gobblerpedia.org/w/index.php?action=history&amp;feed=atom&amp;title=VPN"/>
	<link rel="alternate" type="text/html" href="https://gobblerpedia.org/w/index.php?title=VPN&amp;action=history"/>
	<updated>2026-04-20T00:09:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://gobblerpedia.org/w/index.php?title=VPN&amp;diff=2751&amp;oldid=prev</id>
		<title>imported&gt;Hazybluedot: Instructions to connect to VT's VPN</title>
		<link rel="alternate" type="text/html" href="https://gobblerpedia.org/w/index.php?title=VPN&amp;diff=2751&amp;oldid=prev"/>
		<updated>2014-12-23T17:31:08Z</updated>

		<summary type="html">&lt;p&gt;Instructions to connect to VT&amp;#039;s VPN&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Command Line ==&lt;br /&gt;
&lt;br /&gt;
These instructions were pieced together from the relevant VT4Help instructions and a guide found by searching for &amp;quot;Connecting to a Juniper VPN via the command-line in Debian&amp;quot; (I am unable to create pages with external links at this time).&lt;br /&gt;
&lt;br /&gt;
Note that you will not need JRE installed as the vt4help instructions suggest, but you will need the 32bit glibz and zlib libraries, on a yum-based system:&lt;br /&gt;
&lt;br /&gt;
    # yum install glibc.i686 zlib.i686&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Create a directory to store the juniper VPN utilities&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        $ juniper_path=$HOME/.juniper_networks/network_connect&lt;br /&gt;
        $ mkdir -p $juniper_path&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Log on to the Web page with your credentials.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;In a Web browser, go to the https:// ras.cns.vt.edu/dana-cached/nc/ncLinuxApp.jar Web page.&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;In the Virginia Tech PID text box, type your PID.&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;In the Network Password text box, type your network password.&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;Click the Sign In button.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Download and save the ncLinuxApp.jar file to your computer.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;When the download is complete, unpackage the ncLinuxApp.jar file.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
$ unzip ncLinuxApp.jar -d ${juniper_path}&lt;br /&gt;
$ sudo chown root:root ${juniper_path}/ncsvc&lt;br /&gt;
$ sudo chmod 6711 ${juniper_path}/ncsvc&lt;br /&gt;
$ chmod 744 ${juniper_path}/ncdiag&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Get the certificate for ras.cns.vt.edu&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    $ bash ${juniper_path}/getx509certificate.sh ras.cns.vt.edu ${juniper_path}/ras.cns.vt.edu.der&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Create a script similar to the following&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
    #!/usr/bin/bash&lt;br /&gt;
&lt;br /&gt;
    realm_host=ras.cns.vt.edu                                                                                                                          &lt;br /&gt;
    realm=&amp;quot;RAS-Public&amp;quot; #  or &amp;quot;RemoteAccessUser&amp;quot;&lt;br /&gt;
    vtpid=&amp;quot;Your VT PID&amp;quot;                                                                                                            &lt;br /&gt;
    juniper_path=$HOME/.juniper_networks/network_connect                                                                                            &lt;br /&gt;
                                                                                                                                                   &lt;br /&gt;
    sudo ${juniper_path}/ncsvc -h ${realm_host} -u ${vtpid} -f ${juniper_path}/${realm_host}.der -r ${realm} -U https://${realm_host}&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Invoke your script to connect to the VPN!&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note, the 4help instructions indicate to use the realm `&amp;quot;RemoteAccessUser&amp;quot;` to send only VT traffic over the VPN and `&amp;quot;RAS-Public&amp;quot;` to send all traffic over the VPN. So far I have only been able to work with the `&amp;quot;RAS-Public&amp;quot;` realm but I have not done extensive testing to figure out why other one didn't seem to work.&lt;br /&gt;
&lt;br /&gt;
[[Category:Campus computing resources]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Hazybluedot</name></author>
		
	</entry>
</feed>