Regression #13274
closedOpenVPN override IPv4 tunnel network field changing value improperly
100%
Description
For an override on a subnet topology VPN, the mask on the tunnel network in the override has to reflect the subnet mask of the VPN tunnel network. However, when saving the override the entered address is being changed to the network address of the given subnet/mask, losing the actual address the user wants.
e.g. Enter 10.40.104.100/24
and it ends up 10.40.104.0/24
.
Using /32 does not work as OpenVPN will not properly use the address+mask and it sets it up with the wrong values.
If you ignore the remote network field and add a proper advanced config entry of ifconfig-push 10.40.104.100 255.255.255.0
then it works properly.
This was changed on #11416 but it probably should have only been changed on the server and client pages not on the override page.
Related issues
Updated by Jim Pingle over 2 years ago
- Related to Bug #11416: OpenVPN IPv4 Tunnel Network incorrectly allows hostnames added
Updated by Jim Pingle over 2 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 230b23033a898633681ef0dde4df8f63a2b7258c.
Updated by Jim Pingle over 2 years ago
- Plus Target Version changed from 22.09 to 22.05
Updated by Jim Pingle over 2 years ago
- Status changed from Feedback to Resolved
Working as expected on the latest build. The exact tunnel network address and mask remain, and the resulting ifconfig-push
directive is correct.