Difference between revisions of "Proxies and VPN"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Mutantmonkey
(→‎VPN)
imported>Mutantmonkey
(→‎VPN)
Line 6: Line 6:
  
 
== VPN ==
 
== VPN ==
−
''Note: If you are looking for information on how to connect to Virginia Tech's VPN, please see the [[VPN]] page. The following information may be out of date or inaccurate but will be retained for the time being for posterity.''
+
See the [[VPN]] page for information on connecting to the Virginia Tech VPN.
−
 
 
−
=== Using Ubuntu or Debian ===
 
−
<ol><li> Install the [http://www.gnome.org/projects/NetworkManager/ Network Manager] applet if you do not already have it.
 
−
</li><li> Install the '''network-manager-pptp''' package for your distribution.
 
−
</li></ol>
 
−
From here you will need to configure the VPN somewhat differently
 
−
depending on your version of NetworkManager. To see your version of
 
−
NetworkManager, right click the NetworkManager applet on your upper
 
−
panel. The nm-applet looks like one of the following, depending on if
 
−
your connected:
 
−
 
 
−
<table border="1">
 
−
 
 
−
<tr>
 
−
<th>Not Connected </th><th> Connected
 
−
</th></tr>
 
−
<tr>
 
−
<td><a href="http://www.vtluug.org/wiki/index.php?title=Image:Nm_not_connected.png" class="image" title="Image:nm_not_connected.png"><img alt="Image:nm_not_connected.png" src="VPN_files/Nm_not_connected.html" height="24" width="24" border="0"></a> </td><td> <a href="http://www.vtluug.org/wiki/index.php?title=Image:Nm_connected.png" class="image" title="Image:nm_connected.png"><img alt="Image:nm_connected.png" src="VPN_files/Nm_connected.html" height="22" width="22" border="0"></a>
 
−
</td></tr></table>
 
−
 
 
−
==== NetworkManager 0.6 (Ubuntu 8.04 Hardy Heron) ====
 
−
<ol><li> Click the Network Manager applet in your panel.
 
−
</li><li> Under '''VPN Connections''', select '''Configure VPN...'''.
 
−
</li><li> Click the '''Add''' button.
 
−
</li><li> Click '''Forward'''.
 
−
</li><li> Click '''Forward''' again.
 
−
</li><li> In the '''Connection Name''' box, type <code>VT PPTP VPN</code>.
 
−
</li><li> In the '''Gateway''' box, type <code>pptp.cns.vt.edu</code>
 
−
</li><li> At the top, click the '''Authentication''' tab.
 
−
</li><li> Check the box labeled '''Refuse CHAP'''.
 
−
</li><li> Click '''Forward'''.
 
−
</li><li> Click '''Apply'''.
 
−
</li><li> Restart Network Manager with the following commands:
 
−
</li></ol>
 
−
<code></code><pre>sudo /etc/dbus-1/event.d/25NetworkManager restart
 
−
sudo /etc/dbus-1/event.d/26NetworkManagerDispatcher restart</pre>
 
−
==== NetworkManager 0.7 (Ubuntu 8.10 Intrepid Ibex) ====
 
−
<ol><li> Click the NetworkManager applet &#8594; VPN Connections &#8594; Configure VPN
 
−
</li><li> Go to the VPN tab
 
−
</li><li> Click Add
 
−
</li><li> You will be asked to choos a VPN connection type. Select Point-to-Point Tunneling Protocol (PPTP) and click Create
 
−
</li><li> Enter the following and click OK:
 
−
</li></ol>
 
−
<table align="center" border="1">
 
−
 
 
−
<tr>
 
−
<th>Connection name
 
−
</th><td>VT PPTP VPN (really, can be whatever you like)
 
−
</td></tr>
 
−
<tr>
 
−
<th>Gateway
 
−
</th><td>pptp.cns.vt.edu
 
−
</td></tr>
 
−
<tr>
 
−
<th>User name
 
−
</th><td>''your PID''
 
−
</td></tr>
 
−
<tr>
 
−
<th>Password
 
−
</th><td>''your VPN password''
 
−
</td></tr>
 
−
<tr>
 
−
<th>NT Domain
 
−
</th><td>''(blank)''
 
−
</td></tr></table>
 
−
 
 
−
==== Connecting to the VPN ====
 
−
<ol><li> Click the Network Manager applet in your panel.
 
−
</li><li> Under '''VPN Connections''', select '''VT PPTP VPN'''
 
−
</li><li> Log in using your Remote Access ID.
 
−
</li></ol>
 
−
 
 
−
==== Ubuntu upgraders from 8.04 Hardy Heron to 8.10 ====
 
−
If you experience an error "unable to find valid VPN secrets", you
 
−
need to delete your saved password. Go to Applications &#8594; Passwords and
 
−
Encryption Keys, then go to the Passwords tab and delete the entry for
 
−
your VPN password (e.g., "VPN password secret for VT PPTP VPN..."). Now
 
−
left-click the NetworkManager applet icon, select the VT PPTP VPN, and
 
−
enter your VPN password.
 
  
 
[[Category:Howtos]]
 
[[Category:Howtos]]
 
[[Category:Round 2 migration]]
 
[[Category:Round 2 migration]]

Revision as of 17:12, 28 August 2011

Web Proxy

If you're just looking to access library resources like subscription journals, you can make use of the library's web-based proxy.

SSH Tunnel

If you're looking for a quick and dirty way to obtain a VT IP, you can run a secure shell socks proxy using a CVL (ECE) or rlogin (CS) shell account.

VPN

See the VPN page for information on connecting to the Virginia Tech VPN.