Skip to end of metadata
Go to start of metadata

This is to set up your Virtual Private Network (VPN) which allows you to access your computer, file shares, and internal websites off campus.

Step-by-step guide

Installing VPNC and NetworkManager

Certain distributions (Fedora) come preinstalled with VPNC and NetworkManager. If you are using a distribution that doesn't use yum or aptitude and does not already have NetworkManager or VPNC installed, you will have to compile VPNC and NetworkManager manually or use your distributions package manager.

If you are using a debian-based distribution with Gnome where VPNC or NetworkManager is not installed, execute the following command in a terminal:

sudo apt-get install vpnc network-manager-gnome network-manager-vpnc-gnome

Follow the prompts as instructed.

If you are using a yum based distribution with KDE where VPNC or NetworkMangager is not installed, execute the following command in a terminal:

su -c 'yum install vpnc kde-plasma-networkmanagement-vpnc NetworkManager'

Follow the prompts as instructed.

If the above commands do not find the vpnc or NetworkManager packages, you will have to add the proper yum repository or debian PPA.

KDE Graphical User Interface Setup

  1. Click on the NetworkManager system tray icon. A window of your network interfaces and connections should appear. If this does not work then look for Network Connections in your distribution's settings menu. 


  2. You will see under Virtual Private Network your current VPN status. To add a new VPN click the Manage Connections button. 
  3. Click on the VPN tab then click on the Add button and select VPNC. 


  4. Name the connection as you prefer. We do not recommend connecting automatically to the VPN.
  5. Under the Cisco VPN Tab, edit these fields.
    1. Gateway: 146.7.4.98 (Address in Screenshot is outdated)
      1. If your VPN client supports configuration with a FQDN, passport.missouristate.edu may be used here.
    2. Group name: MS 
    3. Group Password: missouristate
    4. Username: BearPassLogin (with no @SGF or sgf\) 
    5. Domain: SGF (WP if you are a West Plains student) 
    6. NAT Traversal: Cisco UDP



  6. Click OK until you are back to the Add, Edit, and Remove network connections window. 
  7. Edit the MSU VPN connection we just created. 
  8. Click on the IPv4 Address tab. Then click on the Basic settings drop down menu and select Routes.


  9. Make sure the Use only for resources on this connection option is checked. 


  10. Click OK until the desktop is viewable.
  11. Click on the NetworkManager system tray icon, and under Connections click MSU VPN.
  12. Type your Bearpass Password into the User Password field, and click OK
  13. If your connection was successful you will see MSU VPN Connected  in your Network Manager Window. 


  14. You can disconnect from the VPN by clicking on the red x in the upper right of the VPN status window. 

Gnome Graphical User Interface Setup

  1. Click on the NetworkManager system tray icon
  2. Hover over the VPN Connections options in the drop down menu and then click Configure VPN... in the new options displayed. 



  3. The Network Connection window will pop up. From here, click the Add button. 


  4. Select Cisco Compatible VPN (vpnc) when NetworkManager asks to Choose a VPN Connection Type and click Create.


  5. Make your VPN settings match these pictured in the screenshot.

    Do not click Save before the next step.

    1. Connection Name: MSU VPN 
    2. Gateway: 146.7.4.98 screenshot is outdated
    3. Group Name: MS  
    4. Group Password: missouristate with the Saved option 
    5. User Name: BearPassLogin 
    6. Domain: SGF (WP for West Plains students) 
    7. Nat Traversal: Cisco UDP

       

  6. Click on the IPv4 tab, then click on the Routes... button in the lower right. 


  7. Check the box next to Use this connection only for resources on its network. Then click OK then Save


  8. Click Close.


  9. You must log out and log back in for the changes to take affect. 
  10. Click on the NetworkManager system tray icon, hover over the VPN Connections option then click MSU VPN.


  11. A password prompt will ask you for your BearPass Password. Type it in the Password field, then click OK
     

  12. You should receive a pop up to notify you that a VPN connection has been successfully established.
  13. You are now set up and ready to go. 

Command Line Interface VPN Instructions

If your distribution uses sudo, ignore the "su" commands and add "sudo" to the beginning of the following commands. Also, use the command line guide only if you don't want to use the above NetworkManager guide.

  1. This command will edit your default vpnc configuration file. You do not have to use the text editor vim. You may use your favorite graphical or command line text editor as long as you are executing your text editor with root privileges.

    vim /etc/vpnc/default.conf

     

  2. Make sure your default.conf looks like the following. Be sure to remove any excess lines of space after the last line. The text to copy and paste is below. If you are a West Plains student, change the domain to WP

    IPSec gateway 146.7.4.98 //Address in Screenshot is outdated//
    IPSec ID MS
    IPSec secret missouristate
    Domain SGF



  3. Save the file.

  4. In order to connect to the VPN with root privileges, type:

    vpnc
  5. Enter your BearPass Login for the username when prompted.

  6. Enter the password for your BearPass Login when prompted. 



  7. If the vpnc dameon starts successfully, you are connected to the MSU VPN.

  8. This command needs to be used with root privileges to disconnect from the VPN.
     

    vpnc-disconnect

 


For questions or comments, contact the Computer Services Help Desk
HelpDesk@MissouriState.edu
417-836-5891