VPN with Linux

The central Informatikdienste recommend to use the Cisco Secure Client (formerly known as Cisco AnyConnect), but you can also use the native, opensource tools.

Using the command line

Install openconnect, and run the following with the right parameters:

openconnect -u ETHZNAME@student-net.ethz.ch -g student-net sslvpn.ethz.ch


openconnect -u ETHZNAME@staff-net.ethz.ch -g staff-net sslvpn.ethz.ch


Make sure the network-manager-openconnect and network-manager-openconnect-gnome packages are installed. Then configure the VPN via the NetworkManager GUI (for instance by opening the GNOME Control Center with the gnome-control-center command).

The setup can be made in a few steps:

  • Network, VPN, +, Multi-protocol VPN client (openconnect)
  • Name: ETH Zurich, VPN Protocol: Cisco AnyConnect or openconnect, Gateway: sslvpn.ethz.ch, Add
  • Then turn on the new VPN connection: GROUP: staff-net (or student-net if you're a student..), Username: ethzuserid@realm (for example johndoe@staff-net.ethz.ch, Password: VPN-NETHZ (you can check your password at https://sslvpn.ethz.ch/), Login

Starting the client

Start or stop the VPN connection from the NetworkManager.