Score:0

Connect to en /ext host of Fortinet VPN with Ubuntu

ru flag

I have used openfrotivpn many times but I have never been able to properly configure such a vpn in the network manager.

Unfortunately, now I have to connect to host [some ip]/ext (e.x. 192.168.10.10/ext) and i can't do that even via cli. It is possible only using 'original' FortiClient.

How should I configure my network manager in this case? I want to be able to quick connect with this vpn just like as selecting wi-fi network.

When I try to connect with it using cli, then openfortivpn throw an error.

# vpn.cfg
host=192.168.10.10/ext
port=443
username=me
password=mypass
thrusted-cert=mytrhustedcert
$ sudo openfortivpn -c vpn.cfg 
ERROR:  getaddrinfo: Name or service not known
INFO:   Closed connection to gateway.
ERROR:  connect: Connection refused
INFO:   Could not log out.

Additionaly in FortiClient GUI I have selected Do not Warn Invalid Server Certificate option.

Score:0
lu flag

What you are trying to do is connecting to a specific realm, in your case ext

Add to your configuration realm = ext or run the openfortivpn utility with the --realm ext flag.

Score:-1
us flag

Similar problems with an URL as a host. I read some answers and the solution was put an IP instead the URL

us flag
I meant, "/ext" probably don't work
Piotr Płaczek avatar
ru flag
Nope. I've to use FortiClient app :/
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.