Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Proxies and VPN

2,402 bytes removed, 04:02, 8 July 2021
no edit summary
 
=Proxies=
== Web Proxy ==
If you're just looking to access library resources like subscription journals, you can make use of the library's [http://www.lib.vt.edu/help/extended/extproxy.html web-based proxy].
If you're looking for a quick and dirty way to obtain a VT IP, you can run a [[Secure Shell#Tunneling|secure shell socks proxy]] using a [[CVL]] (ECE) or [[rlogin]] (CS) shell account.
== How to connect to Virginia Tech's VPN ==Connecting to the Internet through Virginia Tech's [http://en.wikipedia.org/wiki/Virtual_private_network Virtual Private Network] (VPN) is the only officially advertised and supported method of accessing certain resources such as [http://network.software.vt.edu/ VT Network Software] from off-campus. <ul><li> Alternatively, you can use '''Important:SSH tunnels''' You must first create a [http://computing.vt.edu/accounts_and_access/remote_access_id/ Remote Access ID] to be able to log into the VPN. This is different from your normal VT PID password.</li></ul>=== 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 proxies to configure the VPN somewhat differentlydepending on your version of NetworkManager. To see your version ofNetworkManager, right click the NetworkManager applet on your upperpanel. The nm-applet looks like one of the following, depending on ifyour connected: <table border="1"> <tr><th>Not Connected </th><th> Connected</th></tr><tr><td><obtain 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 8Virginia Tech IP address.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 restartsudo /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 Updated as of Summer 2021 (for Debian):# Install the VPN "openconnect" package# Run "sudo openconnect --protocol====<ol><li> Click the Network Manager applet in your panelpulse 'https://vpn.nis.vt.<edu/li><li> Under vttraffic'"#* If it complains that about 'pulse'VPN Connections, then try: "sudo openconnect --protocol=nc 'https://vpn.nis.vt.edu/vttraffic'"# At the login prompt, enter your VT PID.# At the password prompt, enter you NETWORK PASSWORD. (This is not the same as your VT login password, but a generated with 16 characters like "ghrt-oiuy-dgfj-lkjl") To generate one or get a new one you'll have to go to your VT accounts page (found at https://vt4help.service-now.com/sp?id=kb_article&sys_id=5e76ba690f266500d3254b9ce1050eff#networkchange).# When prompted for password#2, select enter the method of 2-factor authentication you want to use# Minimize the terminal you used for openconnect or enter ^ctrl-Z'to put the job in the background. If you now enter 'ifconfig'VT PPTP VPNor 'ip add''</li><li> Log in using your Remote Access ID, you will see a new ip address assigned to you.</li></ol>
==IPsec== Ubuntu upgraders from 8.04 Hardy Heron to 8.10 ====If you experience an error "unable to find valid VPN secrets", youneed to delete your saved password. Go to Applications &#8594; Passwords andEncryption Keys, then go to the Passwords tab and delete the entry foryour VPN password (e.g., "VPN password secret for VT PPTP VPN..."). Nowleft-click the NetworkManager applet icon, select the VT PPTP VPN, andenter your VPN password.See [[IPsec]]
[[Category:Howtos]]
[[Category:Software]]
[[Category:VTLUUG:Projects]]
[[Category:Needs restoration]]