GNOME Bugzilla – Bug 650389
[enh] Support multiple gateway ports in OpenVPN (for both UI and import/export)
Last modified: 2016-01-21 09:43:50 UTC
There should be a way to set up multiple gateways (or remotes) for an OpenVPN connection. OpenVPN itself supports this feature and it may be configured via openvpn.conf.
Implemented as part of cb81bdcea8b043ee8890cf930d88c9e30fc28612. You can specify multiple hosts in Gateway entry separated by commas.
Import/Export doesn't work correctly. If you export, multiple "remote" lines should be added to the config file. And importing should merge multiple "remote" lines into a comma separated list.
Thanks for pointing to that, it was forgotten. Now fixed by b6e780fd738041380bd9d4bedc7d0bc5fc962b2c. However, we still don't support multiple ports (as part of 'remote' line). So I am reopening the bug for that and updating the description accordingly.
I have this in my OVPN file: remote vpn.example.net 1194 udp remote vpn.example.net 443 tcp This has the effect that the 'custom port', in this case 443, is picked up, but not that it should use a tcp connection. So OpenVPN ends up being configured to connect to port 443 using UDP.
I just tested this with NetworkManager 1.2 beta and there it seems fixed!
(In reply to François Kooman from comment #5) > I just tested this with NetworkManager 1.2 beta and there it seems fixed! Great. Thanks for testing. (The fixing commit was https://git.gnome.org/browse/network-manager-openvpn/commit/?id=6d275a2923828a81180a5539992b4716da86899c)