I'm trying to use OpenVPN to connect to a work network. Unfortunately, the work network is behind a NAT, which means I have to use the float option to make it work.
Apparently, NetworkManager does not support the float option --- there appears to be no way of specifying it in the configuration options.
I don't want to lose NetworkManager, because it provides a very convenient way of connecting to random wireless networks; but I have to use OpenVPN. I've tried using OpenVPN directly with a raw OpenVPN configuration file, and this correctly sets up the connection, but this now interacts horribly with NetworkManager so things like DNS and routing is all messed up.
Does anyone know any way of getting NetworkManager to support the float option?
According to an Ubuntu Forums thread there was a patch added to the ppa for network manager but it is no longer offered.
The page lists the following code however that you can try.
To apply this patch to the source of your current network-manager-openvpn plugin as follows:
Good luck.