VPN edit

For Linux help please consult the PPTP Client document. The hostname for our VPN server is pptp.cs.mcgill.ca and it uses the Point-to-Point Tunneling Protocol.

Linux

IPsec/L2TP

Currently linux has no GUI client for ipsec over l2tp, the user will have to install packages and create config files manually for it to work.

This is mainly for linux (ubuntu/debian) clients, for Unix/FreeBSD clients, it should also work but it's not tested. If tested, please let us know.

  1. Install openswan package for ipsec, xl2tpd for l2tp and lastly the ppp package.
  2. Download the sample config files here (This can only be downloaded within the CS network )
  3. Add a connection entry in ipsec.conf as in the sample config file.
  4. Add the PSK to the ipsec.secrets file
  5. Configure xl2tpd.conf
  6. Add a pppd option file
  7. Add an entry to chap-secrets file
  8. Use the script provided to start/stop the connection. This script is very rudimentary, you are more than welcome to modify and submit to us your improved version.

Mac OS

PPTP

  1. Launch the Finder.
  2. Launch Internet Connect from the Applications folder located within the Finder window.
  3. Select VPN.
  4. Select pptp.
  5. Enter the server address as pptp.cs.mcgill.ca, your CS login and password
  6. Under Advanced tick send all traffic
  7. Apply your changes then click Connect
  8. At this point you should be connected to the school network.
  9. To disconnect your VPN session, click on Disconnect from the Internet Connect application.

IPsec/L2TP

  1. Launch the Finder.
  2. Launch Internet Connect from the Applications folder located within the Finder window.
  3. Select VPN.
  4. Click on File --> New VPN Connections
  5. Select L2TP over IPsec.
  6. Enter the server address as ipsec.cs.mcgill.ca, your CS login and password
  7. Under Configuration, select Edit Configurations
  8. Under Machine Authentication, enter the Pre-Shared Key (Only available within CS Network)
  9. At this point you should be able to connect to the school network
  10. To disconnect your VPN session, click on Disconnect from the Internet Connect application.

Windows

PPTP

  1. Go to the Control Panel and double click on the Network Connections icon.
  2. Double click on New Connection Wizard.
  3. Click the Next button.
  4. Select the Connect to the network at my workplace radio button and click the Next button.
  5. Select the Virtual Private Network connection radio button and click the Next button.
  6. Name the new VPN connection and click the Next button.
  7. Fill in pptp.cs.mcgill.ca as the hostname and click the Next button.
  8. Specify if this is for all users or not and click the Next button.
  9. Click the Finish button.
  10. On the VPN dialogue click the Properties button.
  11. Click the Networking tab.
  12. On the Type of VPN dropdown select PPTP VPN option and click the Ok button.

IPsec/L2TP

  1. Go to the Control Panel and double click on the Network Connections icon.
  2. Double click on New Connection Wizard.
  3. Click the Next button.
  4. Select the Connect to the network at my workplace radio button and click the Next button.
  5. Select the Virtual Private Network connection radio button and click the Next button.
  6. Name the new VPN connection and click the Next button.
  7. Fill in ipsec.cs.mcgill.ca as the hostname and click the Next button.
  8. Specify if this is for all users or not and click the Next button.
  9. Click the Finish button.
  10. On the VPN dialogue click the Properties button.
  11. Click the Security tab.
  12. Under Security options uncheck the Require data encryption (disconnect if none)
  13. Under Security options click on IPSec Settings, Check the box Use pre-shared key for authentication and enter the Pre-Shared Key
  14. Click the Ok button.