U.Porto IT


Services List

  1. Networks and Connectivity
  2. VPN
Manual Configuration - Mac

Content for students
  1. Go to the "Apple menu" and select "System Preferences".
    Apple Menu
    Apple Menu
  2. Select the "Network" option.
    Apple Menu
    Apple Menu
  3. Select the “lock” icon to make changes and, when requested, insert the Mac administrator's "Username" and "Password" and click on the "Unlock" button.
    Network Preferences
    Network Preferences
  4. Select the "+" icon to "Create a new service".
    Creating a new service
    Creating a new service
  5. Select the following options:
    • Interface: VPN;
    • VPN Type: L2TP via IPsec;
    • Service Name: VPN (L2TP) FEUP, in this example;
    Creating a new service
    Creating a new service
  6. Select the "Create" option
  7. In the VPN connection tab created, configure according to the following options:
    • Server Address:, in this example - consult the Table of VPN service addresses of U.Porto[1];
    • Account Name: insert your Information System user in the form up[123456789]@[institution][2];
    Authentication Settings
    Authentication Settings
  8. Select the "Authentication Settings" option.
  9. Configure according to the following options:
    • Password: insert the password of the Information System
    • Shared Secret: VPN_UPDIGITAL
    Authentication Settings
    Authentication Settings
  10. Select "OK";
  11. Depending on the macOS versions, it might be necessary to complete the optional field in the following way:
    • Group Name: DefaultRAGroup
    Authentication Settings - Group Name
    Authentication Settings - Group Name
  12. Select "Advanced...".
  13. In the "Options" tab, check the "Send all trafic over VPN connection" option.
    Advanced Option
    "Advanced" Option
  14. In the "TCP/IP" tab, configure according to the following options and, in the end, select "OK".
    • Configure IPv6: Link-local only
      TCP/IP tab
      "TCP/IP" tab
    • To facilitate access to the VPN connection from Mac's desktop, check the "Show VPN status in menu bar" option.
  15. Select "Apply" for the changes to come into effect.
    Showing VPN status in menu bar
    Showing VPN status in menu bar
  16. After selecting the VPN created, select "Connect" to establish the connection.
  17. If the connection is established, the status is described as "Connected".
    Connection Status
    Connection Status
  18. To use the VPN connection again, you can select the "VPN status" icon in the menu bar, then choose a VPN connection and select "Connect".
    VPN Connection
    VPN Connection


  1. Tabela de endereços VPN da U.Porto
    Institution Address IP
    FEUP (SSL)
  2. The numbers represent your student/mechanographic number and "institution" represents your home institution (cdup, arq, fade, fba, fc, fcna, direito, fe, fep, ff, fmd, fpce, icbas, letras, med, reit, sas or sp).

More information:

Infrastructure and Network

Last update: May 26, 2020