Proxies and VPN: Difference between revisions

Line 8: Line 8:


= VPN =
= 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. Alternatively, you can use SSH tunnels or [[proxies]] to obtain a Virginia Tech IP address.
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. Alternatively, you can use '''SSH tunnels''' or [[proxies]] to obtain a Virginia Tech IP address.


'''Important:''' You must first create a [http://answers.vt.edu/kb/entry/3765 Remote Access ID] to be able to log into the VPN. This is different from your normal VT PID password. This is the Network Account information on your [https://my.vt.edu/accounts/myaccounts Accounts page].


As of September 2014, the software that runs the VPN has changed and no new instructions have been written yet. For now, you can follow [https://wiki.archlinux.org/index.php/Juniper_VPN#Preferred_installation_method these instructions for Arch Linux].
Updated as of Summer 2021 (for Debian):
 
1. Install the "openconnect" package
See also: [[PPTP VPN]]
2. Run "sudo openconnect --protocol=pulse 'https://vpn.nis.vt.edu/vttraffic'"
2a. If it complains that about 'pulse', then try: "sudo openconnect --protocol=nc 'https://vpn.nis.vt.edu/vttraffic'"
3. At the login prompt, enter your VT PID.
4. 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).
5. When prompted for password#2, enter the method of 2-factor authentication you want to use
6. Minimize the terminal you used for openconnect or enter ^ctrl-Z' to put the job in the background. If you now enter 'ifconfig' or 'ip add', you will see a new ip address assigned to you.  


==IPsec==
==IPsec==