OpenVPN Installation Guide

For remote access to internal services hosted at the Institute for Advanced Study (IAS), we utilize the OpenVPN software. This software allows authenticated users to create an encrypted tunnel or Virtual Private Network (VPN) between their remote device and our campus. This has a dual purpose of protecting your traffic from malicious networks and gaining you secure access to campus resources. This access includes services like home directories, the Princeton University Library Gateway (PULIBGW), and more. 

Remote access requires the use of Multi-Factor Authentication. If you haven't set this up for your IAS account, please see our information page or contact the Computing Helpdesk for DuoSecurity before continuing.

The installation and use of OpenVPN will require your IAS Credentials. Make sure you fill in these fields correctly and do not include the domain of @ias.edu in your username.

This page links to installation guides for various devices and operating systems. Should you run into any trouble, please contact the Computing Helpdesk for more information.

 

OpenVPN Installation Guide

​​​​​​.pdf OpenVPN instructions for macos

  1. Open your preferred web-browser and search for openvpn.ias.edu
  2. Enter your IAS Credentials and click Sign In    

    openvpn login
  3. Open your Duo app and select Show Password
  4. Enter the single-use Duo password and click Continue 

    duo push openvpn
  5. Select MacOS as your platform to download the OpenVPN launcher, select Allow
  6. Open the downloaded file by navigating to your downloads folder and selecting the downloaded file 

    installer download
  7. Follow the instructions on your screen and Continue through the installation process 

    install openvpn connect
  8. You may need to sign in as an administrator to allow the installation. If so, enter your Username and Password and hit Install Software 

    install software
  9. Navigate to your Applications folder and double-click the OpenVPN Connect application
              *Do not select the OpenVPN Connect folder 

    opening the application
  10. Click through the pop-ups and instructions on your screen
  11. Enter openvpn.ias.edu as the URL and select Next 

    accessing the vpn
  12. Enter your IAS credentials under Username and Password, select Import 

    enter username and password
  13. Click on the OpenVPN Profile bar to connect to the VPN
  14. Enter your IAS Password and select OK 

    enter password
  15. Enter your Duo passkey following the same process as in steps 3 and 4
  16. Congrats! You are now connected to the IAS OpenVPN
youre connected!!!

 

.pdf OpenVPN instructions for Windows

  1. Open your preferred web-browser and search for openvpn.ias.edu
  2. Enter your IAS Credentials and click Sign In 

    Windows OpenVPN login page
  3. Open your DUO App and select Show Password
  4. Enter the single-use DUO Password and click Continue 

    DUO passcode in OpenVPN
  5. Select Windows as your platform to download the OpenVPN launcher
  6. Open the downloaded file by clicking on it 

    download page
  7. Wait for the Setup Wizard to open
  8. Click Next, accept the Terms and Conditions, then select Install 

    Setup wizard
  9. Click through the pop-ups and instructions on your screen
  10. Click on the OpenVPN Profile bar to connect to the VPN 

    Connecting to the VPN
  11. Enter your IAS credentials
  12. Enter your Duo passkey following the same process as in steps 3 and 4 

    Enter IAS Credentials
  13. Congrats! You are now connected to the IAS OpenVPN 

    You're in!!!

Command Line Configurations

  1. Open a terminal. 

    A terminal window
  2. Install the OpenVPN client. For RedHat-based systems (CentOS, Springdale Linux, Fedora), type sudo yum install openvpn.
  3. You will be asked to verify the download: type Y, and press Enter/Return

    A terminal window showing the results of the command being run.
  4. You will see a verification of the package you installed along with a message telling you the download is complete. 

    A terminal window showing the results of the command being run.
  5. In your browser, navigate to openvpn.ias.edu.
  6. Enter your IAS credentials and then press Go

    The OpenVPN login screen.
  7. Click on Yourself (user-locked profile) to download your OpenVPN profile. Make sure this download goes into your Download folder. This will be the default download location unless you have changed it. 

    OpenVPN site showing download links.
  8. In your terminal type the following command (all Linux variants):
    sudo openvpn --config Downloads/client.ovpn --auth-retry interact 

    A terminal window showing the results of the command being run.
  9. You will be prompted to enter your IAS credentials, enter your credentials then press Enter to proceed.  

    A terminal window showing the results of the command being run.
  10. Press CTRL-C to exit.
  11. You should also see your new IP address if you run ip addr or ifconfig in another terminal window.

Network Manager Configuration:

  1. Open a terminal and install the Network Manager plugins for OpenVPN and Gnome. For RedHat based system, type sudo yum install openvpn NetworkManager-openvpn NetworkManager-openvpn-gnome

    A terminal window showing the results of the command being run.
  2. You will be asked to allow the download,  type Y then press Enter/Return

    A terminal window showing the results of the command being run.
  3. When the installation is complete, you will see the packages you installed along with a verification that the download was completed. 

    A terminal window showing the results of the command being run.
  4. In your browser, navigate to openvpn.ias.edu.
  5. Enter your IAS credentials and press Go

    OpenVPN login screen.
  6. Click Yourself (user-locked profile)

    OpenVPN showing download links.
  7. At the top right of your desktop, click on the internet options symbol and then click Edit Connections...

    Showing where Connection Editor is.
  8. In the bottom-left of the pop-up window, click the + symbol to add a connection. 

    Connection Manager
  9. In the Choose a Connection Type window, open the drop-down menu and select Import a saved VPN configuration... then press Create...

    Import saved VPN configuration.
  10. In your file manager, navigate to your default download location (usually Downloads), and select the client.ovpn file. 

    OpenVPN Profile download.
  11. At the top of the new window, change the connection name to openvpn.ias.edu

    OpenVPN profile options
  12. Enter your IAS username in the Username box.
  13. Click on the question mark in the password box, check Ask for this password every time then click Save

    Enforce typing password on each login.
  14. In the Internet settings, under VPN Connections click on openvpn.ias.edu. It will ask you for your user credentials. 

    Connecting to OpenVPN.
    Alert showing connection with OpenVPN.
.PDF openvpn instructions for ios
  1. Open the App Store and search for OpenVPN Connect
  2. Click “Get” and follow the instructions on your screen
    This will download OpenVPN Connect 

    OpenVPN in App Store
  3. Once OpenVPN Connect is installed, open it
  4. Type in openvpn.ias.edu under “URL” and next to “https://”
    Click “Next 

    OpenVPN app URL page
  5. Use your IAS credentials to fill out the username and password
    Click import 

    Importing profile to OpenVPN
  6. This will open a pop-up asking for your Duo passcode
    Exit the OpenVPN Connect app and open DUO Mobile
  7. Under your IAS account, click “Show” passcode 
    Click “Copy” passcode
  8. Reopen OpenVPN Connect and paste the passcode
    Click “Send” 

    DUO passcode in OpenVPN
  9. “Allow” OpenVPN to add VPN Configurations
    This may open your Settings app
    Follow the instructions on your screen 

    Allow OpenVPN to add new VPN Configurations
  10. Click on the OpenVPN Profile bar to connect to the VPN
  11. Enter your IAS Password and select OK 

    enter password
  12. Enter your Duo passkey following the same process as in steps 3 and 4
  13. Congrats! You are now connected to the IAS OpenVPN 

    youre connected!!!

.pdf OpenVPN instructions for Android

  1. Install the OpenVPN app from the Play Store.
OpenVPN app on Play Store

2. Input the URL for our VPN: openvpn.ias.edu and click the “Next” button.

app asking for URL

3. Enter your IAS username (without @ias.edu) and your password, and hit Import. (You do not have to type anything in “Port” or check either of the boxes.)

Username and password on OpenVPN app

4. A box will pop up, prompting you to enter a passcode or type “push.” Make sure you have Duo installed on your device and set up with the IAS.  Then type “push” in the box and click the “Send” button.

You should get a notification on Duo. Go to the Duo app and select the “approve” button.

pop-up with text "Enter Duo passcode or 'push'"

5. You will then be returned to the main screen of the OpenVPN app, listing your new profile. Click the profile, enter your password, and select the "OK" button.

profile shown to be disconnected and pop-up to enter password

6. A connection request will pop up. Select the “Ok” button.

connection request pop-up stating the permissions OpenVPN needs

7. If a pop-up appears asking for a Duo passcode or “push,” follow the instructions in step 4. 

pop-up asking user to enter Duo passcode or "push"

8. OpenVPN is now set up and you are connected.

connection stats on OpenVPN app

OpenVPN Profile Removal

  1. Ensure you are not connected to the VPN 

    Disconnect from Openvpn
  2. Remove the profile 

    Context menu to remove OpenVPN profile.
  3. Confirm the removal 

    Dialog box to confirm removal.

      

    Confirmation pop up that profile is removed.
  1. Ensure you are not connected to the VPN 

    Disconnect from OpenVPN.
  2. Remove the profile 

    Context menu to remove OpenVPN profile.
  3. Confirm the removal 

    Confirmation dialog to remove profile.
  1. Open the OpenVPN app and click the right arrow to the right of the profile you wish to delete. 

    OpenVPN app on iOS.
  2. Click on the word "Delete" in the upper right hand corner of the screen. 

    Profile deletion dialog.
  3. Click the red circled minus sign on the left portion of the screen. 

    Delete profile.
  4. Click the red highlighted word "Delete" on the right hand portion of the screen. 

    Confirm Profile deletion.
  5. Verify that the profile is no longer present. 

    Verification that profile has been deleted.

.pdf OpenVPN Profile Removal Instructions for Android

  1. In the OpenVPN app, click the pencil symbol. 

    profiles on OpenVPN app
  2. At the bottom of the screen, click “DELETE PROFILE.” 

    Edit profile screen in OpenVPN app
  3. In the popup, select the “Yes” button. 

    pop-up asking if user wants to delete profile
  4. The app will bring you back to this screen. Your profile is now removed. 

    OpenVPN "import profile" page