我已经使用了很多次openfrotivpn,但是我从未能够在网络管理器中正确地配置这样的VPN。
不幸的是,现在我必须连接到主机一些ip/ext (e.x )。192.168.10.10/ext),即使是通过cli,我也做不到。这是可能的,只有使用‘原始’FortiClient。
在这种情况下,我应该如何配置网络管理器?我希望能够快速连接这个VPN,就像选择wi网络一样。
当我试图使用cli连接它时,openfortivpn会抛出一个错误。
# 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.另外,在FortiClient GUI中,我选择了Do not Warn Invalid Server Certificate选项。
发布于 2023-02-05 01:11:48
您要做的是连接到特定的领域,在您的例子中是ext。
添加到您的配置realm = ext中,或者使用--realm ext标志运行openfortivpn实用程序。
发布于 2022-03-01 02:08:47
URL作为主机也有类似的问题。我读了一些答案,解决方案是用IP代替URL
https://serverfault.com/questions/1084672
复制相似问题