Closed kaixa closed 7 years ago
It works for me using an ActivID token to connect to a corporate FortiGate VPN server.
In your case it would help if you could describe what you have tried. Have you tried with the vendor FortiClient SSL VPN client?
If the server expects a mobile token, openfortivpn should ask you interactively. I have both, client certificates and mobile tokens. I this case it first asks me for the PEM passphrase, and then there is a prompt 2factor authentication token:
and your input is not shown on the screen. Some time ago there was an issue with the colors in terminals with light background. Some messages were printed white on light gray which made it difficult to read, but this is fixed on the current master. Username may come from the command line or from the config file, the password may be specified on the command line (not recommended), in the config file (also not best practice), or you are asked interactively for it (in that case this is the first thing you are asked for).
I guess it really depends on how the server is configured. In my case I have to enter a composite password looking like 01234567989898
which would be the concatenation of:
01234567
in the above example,989898
in the above example.So it would help if you could give details on your setup: Linux or MacOS, perhaps a screen capture of what you're attempting, etc.
@kaixa Could you provide details? Does this still not work for you?
I can't connet the server use openfortivpn use username and password, I think the moblie token code isn't input ,but I don't konw how to use?