Difference between revisions of "PPTP VPN"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Pew
(Replaced content with "Category:Pending deletion")
(Undo revision 5504 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]]))
(Tag: Undo)
 
Line 1: Line 1:
[[Category:Pending deletion]]
+
'''These directions ''will not work'' for the Virginia Tech VPN. Please see the [[VPN]] page for details on setting up the Virginia Tech VPN.'''
 +
 
 +
== pptpclient ==
 +
Tested on [[Arch Linux]] with pptpclient 1.7.2 (updated on 2011-08-28).
 +
 
 +
* Ensure that you have both '''ppp''' and '''pptpclient''' installed. Otherwise, you may receive strange errors or otherwise be unable to connect.
 +
* Create the file '''/etc/ppp/peers/VirginiaTech''' with the following:
 +
remotename VirginiaTech
 +
pty "pptp pptp.cns.vt.edu --nolaunchpppd"
 +
name username
 +
file /etc/ppp/options.pptp
 +
require-mppe-128
 +
ipparam VirginiaTech
 +
Make sure to replace '''username''' with your username.
 +
* Edit the file '''/etc/ppp/chap-secrets''' and add the following line to the bottom, replacing '''username''' with your username and '''password''' with your password:
 +
username VirginiaTech password *
 +
* To connect, use the pon script:
 +
sudo pon VirginiaTech
 +
* To disconnect, use poff:
 +
sudo poff VirginiaTech
 +
 
 +
== Network Manager ==
 +
Tested on [[Fedora]] 15 (updated on 2011-08-28).
 +
Tested on [[Ubuntu]] 12.04 LTS (2012-05-22)
 +
 
 +
* Install the '''networkmanager-pptp''' package. (Ubuntu users can skip this step.)
 +
* Right click on the Network Manager applet and select Edit Connections...
 +
* Select the VPN tab and click Add.
 +
* Select '''Point-to-Point Tunneling Protocol (PPTP)''' and click Create...
 +
* Enter '''Virginia Tech VPN''' for the connection name.
 +
* Enter '''pptp.cns.vt.edu''' for the gateway.
 +
* Enter your username and remote access passphrase (in the password field), leaving NT domain blank.
 +
* Click Save...
 +
* Left click on the Network Manager applet, and select '''Virginia Tech VPN''' under VPN Connections.
 +
 
 +
== See also ==
 +
* [[VPN]]
 +
 
 +
[[Category:Howtos]]
 +
[[Category:Software]]

Latest revision as of 23:08, 3 January 2019

These directions will not work for the Virginia Tech VPN. Please see the VPN page for details on setting up the Virginia Tech VPN.

pptpclient

Tested on Arch Linux with pptpclient 1.7.2 (updated on 2011-08-28).

  • Ensure that you have both ppp and pptpclient installed. Otherwise, you may receive strange errors or otherwise be unable to connect.
  • Create the file /etc/ppp/peers/VirginiaTech with the following:
remotename VirginiaTech
pty "pptp pptp.cns.vt.edu --nolaunchpppd"
name username
file /etc/ppp/options.pptp
require-mppe-128
ipparam VirginiaTech

Make sure to replace username with your username.

  • Edit the file /etc/ppp/chap-secrets and add the following line to the bottom, replacing username with your username and password with your password:
username VirginiaTech password *
  • To connect, use the pon script:
sudo pon VirginiaTech
  • To disconnect, use poff:
sudo poff VirginiaTech

Network Manager

Tested on Fedora 15 (updated on 2011-08-28). Tested on Ubuntu 12.04 LTS (2012-05-22)

  • Install the networkmanager-pptp package. (Ubuntu users can skip this step.)
  • Right click on the Network Manager applet and select Edit Connections...
  • Select the VPN tab and click Add.
  • Select Point-to-Point Tunneling Protocol (PPTP) and click Create...
  • Enter Virginia Tech VPN for the connection name.
  • Enter pptp.cns.vt.edu for the gateway.
  • Enter your username and remote access passphrase (in the password field), leaving NT domain blank.
  • Click Save...
  • Left click on the Network Manager applet, and select Virginia Tech VPN under VPN Connections.

See also