nm-l2tp / NetworkManager-l2tp

L2TP and L2TP/IPsec support for NetworkManager
GNU General Public License v2.0
486 stars 83 forks source link

2fa support? #202

Closed pablogipi closed 1 year ago

pablogipi commented 1 year ago

Hello. I'm trying to connect to a fortinet VPN. On windows I use the FortiClient which support 2FA. On Linux I only have an option to set user and password, and pre-shared password. When I try to connect it always fails. I wonder if NetworkManager-l2tp supports 2 Factor Authentication. Thanks

dkosovic commented 1 year ago

See the following issue where 2FA previously came up:

dkosovic commented 1 year ago

As you are using the FortiClient on Windows, you'll probably have more luck with NetworkManager-fortisslvpn which has native 2FA support and uses openfortivpn.

Sorry, there is no native 2FA support with NetworkManager-l2tp, basically the same as the built-in Windows L2TP client.

pablogipi commented 1 year ago

Sorry for the late response Douglas. And thanks for your comments. Unfortunately they are using FortiClient using IPSEC VPN, not the SSL. After some more testing I wasn't sure if the client I have to use is l2tp or vpnc, both cases don't support 2FA. The second factor is using FortiToken, but Iahevnt figure out yet how to introduce this second factor. I have seen some people commenting you can add is after the user password separated by a comma, but still no luck. It is strange that been 2FA so common this days Linux pretty much dont have support for it in NetworkManager. Thanks for the help! And for the good work maintaining l2tp.