Openvpn clients no more multiple IPV4 remote networks ?

Started by FCM, January 10, 2019, 05:15:52 PM

Previous topic - Next topic
hello :)
I have some openvpn clients running fine for the last months and I am trying to do a new one.

It was a long time since I did one, so I was surprised when I wanted to put 2 IPV4 networks on the IPV4 remote network field (my LAN and VOIP networks as usual) and I get this message :
The field 'IPv4 Remote Network' must contain a single valid ipv4 CIDR range.
But the help text still says :
QuoteThese are the IPv4 networks that will be routed through the tunnel, so that a site-to-site VPN can be established without manually changing the routing tables. Expressed as a comma-separated list of one or more CIDR ranges. If this is a site-to-site VPN, enter the remote LAN/s here. You may leave this blank to only communicate with other clients.

So I thought i messed something and go on my working openvpn clients and try to modify the adresses in the field, and if I let 2 networks comma separated, I have the same error message ! (since there are working fine, I didn't push further)
So is it a modification I missed ? or a bug ?
If it's by design, how I put my 2 networks ? 2 clients ??
thanks a lot.

hello
So i installed a 18.7 and didn't update.... and I can put 2 networks in the field.. so I suppose it is a bug from one of the latest release...

Hi,

Sorry, it seems a request by another user was misunderstood and caused a regression here.

https://github.com/opnsense/core/commit/1c8731dd

You can patch this using:

# opnsense-patch 1c8731dd


Cheers,
Franco