How to establish a l2tp vpn connection?

Mähne Torsten torsten.maehne at bfh.ch
Wed May 3 23:12:34 CEST 2017


Dear Stan,

Am 03.05.2017 um 22:56 schrieb Stan Schymanski <stanislaus.schymanski at sdsc.ethz.ch<mailto:stanislaus.schymanski at sdsc.ethz.ch>>:


Hi Torsten,

If I understand correctly, vpnc-connect also asks for a group name and group password, which EPFL did not provide to me. All I have is the l2tp server name and a "shared secret". My colleague can connect without problems on his mac, so I don't understand what I'm doing wrong.

Indeed, the configuration details around the shared password were always needed and could be obtained from the password-protected Intranet pages of EPFL. The link I send you also mentions openconnect to be compatible with their Cisco Anyconnect VPN servers, which is packaged for Debian:

https://packages.debian.org/jessie/openconnect

There’s also a GUI <https://openconnect.github.io/openconnect-gui/>.

Maybe that is worth a try.

Cheers

Stan

Regards,

Torsten

On 05/03/2017 04:39 PM, Mähne Torsten wrote:
Hello Stan,

Am 03.05.2017 um 16:24 schrieb Stan Schymanski <stanislaus.schymanski at sdsc.ethz.ch<mailto:stanislaus.schymanski at sdsc.ethz.ch>>:


Thanks, Torsten!

A few years ago, I tried a similar anyconnect installer script from ETH and it screwed up other vpn connections I had working, so I wanted to avoid this, as I now have a working ETH vpn connection, which I need to keep. As an alternative to the installer script, the ETH web site gives clear instructions how to connect to vpn manually through the network manager from linux, which worked very well. EPFL only has the installer script and the l2tp way, so I would like to use l2tp instead of the installer script if possible. Unfortunately, the network manager does not seem to have this capability.

yes, anyconnect was a huge pain already back then. Even though, they did not advertise it, vpnc-connect continued to work very well, so that I switched back. Unfortunately, I don’t have anymore a backup around of my vpnc.conf from that time.

Cheers

Stan

Regards,

Torsten

On 05/03/2017 02:55 PM, Mähne Torsten wrote:

Hello Stan,

Am 03.05.2017 um 14:43 schrieb Stan Schymanski <stanislaus.schymanski at sdsc.ethz.ch<mailto:stanislaus.schymanski at sdsc.ethz.ch>>:


I need to connect to a l2tp vpn at EPFL, using a shared secret. I haven't found a way to do this from Linux so far, and most of the discussion threads I found pointed to strongswan. Do you know a better way?

Did you read the information provided by EPFL?

http://epnet.epfl.ch/Remote-Internet-Access

When I was working at EPFL, I personally used vpnc as described in <http://flashinformatique.epfl.ch/IMG/pdf/5-4-page3.pdf>

However, that might not work anymore (last used in 2011).

Cheers

Stan

Regards,

Torsten


On 05/01/2017 01:15 PM, Daniel Baumann wrote:

Hi Stan,

just out of curiosity..

On 04/20/2017 12:06 PM, Stan Schymanski wrote:


Update: This sounds promising, but not sure if it would work in
Progress: https://github.com/seriyps/NetworkManager-l2tp/wiki


where are you using this? i always perceived strongswan to be rather
niche, most people use either openvpn or one of the cisco vpns (vpnc,
openconnect). all of these three variants are nicely supported with any
linux system since years.

Regards,
Daniel




--
___________________________________________

Dr. Stan Schymanski
Swiss Data Science Center
ETH Zürich
UNH, Universitätstrasse 25
8006 Zürich
Schweiz

Room: UNH G 5
Ph: +41 44 633 63 65
___________________________________________


_______________________________________________
bfh-linux-users mailing list
bfh-linux-users at lists.bfh.ch<mailto:bfh-linux-users at lists.bfh.ch>
https://lists.bfh.ch/listinfo/bfh-linux-users




_______________________________________________
bfh-linux-users mailing list
bfh-linux-users at lists.bfh.ch<mailto:bfh-linux-users at lists.bfh.ch>
https://lists.bfh.ch/listinfo/bfh-linux-users



--
___________________________________________

Dr. Stan Schymanski
Swiss Data Science Center
ETH Zürich
UNH, Universitätstrasse 25
8006 Zürich
Schweiz

Room: UNH G 5
Ph: +41 44 633 63 65
___________________________________________


_______________________________________________
bfh-linux-users mailing list
bfh-linux-users at lists.bfh.ch<mailto:bfh-linux-users at lists.bfh.ch>
https://lists.bfh.ch/listinfo/bfh-linux-users




_______________________________________________
bfh-linux-users mailing list
bfh-linux-users at lists.bfh.ch<mailto:bfh-linux-users at lists.bfh.ch>
https://lists.bfh.ch/listinfo/bfh-linux-users



--
___________________________________________

Dr. Stan Schymanski
Swiss Data Science Center
ETH Zürich
UNH, Universitätstrasse 25
8006 Zürich
Schweiz

Room: UNH G 5
Ph: +41 44 633 63 65
___________________________________________


_______________________________________________
bfh-linux-users mailing list
bfh-linux-users at lists.bfh.ch<mailto:bfh-linux-users at lists.bfh.ch>
https://lists.bfh.ch/listinfo/bfh-linux-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bfh.ch/pipermail/bfh-linux-users/attachments/20170503/ece52ddf/attachment.html>


More information about the bfh-linux-users mailing list