theinvisible / openfortigui

VPN-GUI to connect to Fortigate-Hardware, based on openfortivpn
https://hadler.me/linux/openfortigui/
GNU General Public License v3.0
492 stars 54 forks source link

Openfortigui in Ubuntu 18.10 development version #61

Closed wagafo closed 5 years ago

wagafo commented 6 years ago

I'm using the upcoming Ubuntu 18.10 version (still in development) and Openfortigui is not connecting. It shows successful connection, but the VPN tunnel is not established.

theinvisible commented 5 years ago

Thanks, non LTS releases are not supported really but i will look into this for upcoming LTS releases. But dont expect high priority for this.

cdysthe commented 5 years ago

So there's not going to be support for any full releases outside of LTSs like 18.10, 19,04 and 19.10? I have to upgrade for work and need OpenFortiGUI for that work. Not sure what to do.

wagafo commented 5 years ago

Openfortigui is nice, but now Fortifvpn is integrated into network-manager. I'm working with that in 18.10. Just install: sudo apt install openfortivpn network-manager-fortisslvpn network-manager-fortisslvpn-gnome and you can configure the connection in the VPN section of network-manager. Of course I would love to go back to Openfortigui if it can be fixed for Ubuntu 18.10. I can connect the high latency case that I have with Openfortigui but I cannot with network-manager because it times out waiting for a handshake or something and I have not been able to increase this timeout. There I can connect with sudo openfortivpn but somehow the DNS does not work for the VPN network, I have to use IP numbers.

rhaamo commented 5 years ago

I don't think it's specific to the GUI part but OpenFortiVPN itself.

With GUI or native gnome network-manager I can't connect anymore on the "stable" 18.10. After a test on a live-cd of the LTS I can connect from GUI.

The only info I get is "ERROR: Could not authenticate to gateway (No cookie given)."

I'm gonna open an issue on openfortivpn repository a bit later.

theinvisible commented 5 years ago

Hi,

i have now made a quick test in Virtualbox with 18.10.

I used openFortiGUI 0.7.2 bionic release and my test vpn was immediately working. Also traffic to the test vpn was working.

@cdysthe Normally the LTS releases also works on newer Ubuntus without modifications as i did my test on 18.10 with bionic release package.

@rhaamo Seems like an generic authentication failure. Sure all was set up correct?

Cheers Rene

wagafo commented 5 years ago

I tried again OpenFortiGUI 0.7.2 in Ubuntu 18.10, now the released stable version. While the VPN connection is established, DNS names are not resolved correctly for the private network. I can connect using the IP address, but not the name of my server in the private network.

I observe the same if I connect at the command line with "sudo openfortivpn" (I have to use sudo otherwise the command line gives an error). It connects but I have to use IP numbers in the private network.

Instead if I use the network-manager interface for openfortivpn everything works, I can use the DNS machine names in the private network without any problem, and DNS is also working outside the private network (in the above cases it is also working).

theinvisible commented 5 years ago

Hi,

you can try the latest version.

Will still close this as Ubuntu 19.04 is out and generally i dont give support for non LTS releases.