Virtual Private Network (VPN) creates a secure connection, called a tunnel, between your computer and the DEI campus. This tunnel allows secure communications and the ability to extend local network access to offsite locations.
Sometimes some home routers and popular Anti-Virus block L2TP/IPSec connections preventing you from connecting to the VPN Service properly.
If you are having problems, try OpenVPN for Windows.
If your Mac runs OSX 11 Big Sur (or a higher version), then OpenVPN doesn't work due to limitations imposed by System Integrity Protection. Disabling SIP will make OpenVPN work again, but it's a security risk and the Helpdesk does not advise this. Alternatively, you can use IPSEC + L2TP mode, which works on the new version of MacOS.
1. Open Network Preferences: System Preferences -> Network Click the "+" button. Select "VPN" as interface and "L2TP over IPSec" as VPN type. Name the service and click "Create". |
![]() |
2. Type Server Address: gw-vpn.dei.uc.pt and Account Name (DEI username). Click "Advanced...". |
![]() |
3. Enable "Send all traffic over VPN connection". Click OK. Then click "Authentication Settings...". |
![]() |
4. Enter DEI password and Shared Secret: dei. Then click "Connect". |
![]() |
1. Go to Control Panel → Network and Sharing Center → Set up a new connection or network Select "Connect to a workplace" Windows 10: Control Panel → Network and Internet → Network and Sharing Center |
![]() |
2. Select "Use my Internet connection (VPN)" |
![]() |
3. Specify the following:
|
![]() |
4. Enter your DEI username and password (without domain) |
![]() |
5. Close this window | ![]() |
6. Go to Network Connections and right-click the VPN → Properties |
![]() |
7. In Security tab:
|
![]() |
8. Click Advanced, enter pre-shared key: dei. Confirm and finish. More help: Microsoft KB926179 |
![]() |
GEANT-CA.crt
and client.ovpn
to C:\Program Files\OpenVPN\config\
or C:\Users\username\OpenVPN\
1. Install OpenVPN support:
Open Network Manager → VPN tab → Add |
![]() |
2. Choose VPN Type: OpenVPN → Create |
![]() |
3. Fill in:
Click Advanced |
![]() |
4. In Advanced:
|
Connecting via OpenVPN on Android is not possible with the official client. Use the paid alternative version or configure IPSEC.
1. Go to Android settings → More → VPN |
![]() |
2. Tap "+" in the top-right corner |
![]() |
3. Configure VPN. Pre-shared key: dei |
![]() |
4. Select connection and enter DEI credentials (no domain) |
![]() |