Bug #7031
closedCannot configure OpenVPN on a DHCP interface that has not received an IP address
100%
Description
If the interface that an OpenVPN server or client is being configured on uses DHCP and has not yet received an IP address, then the OpenVPN Server/Client validation complains "An IPv4 protocol was selected, but the selected interface has no IPv4 address."
Similar if a gateway group is chosen that contains 1 or more gateways that use DHCP, and none of those gateways have yet got an IP address.
The same sort of thing happens when using an IPv6 protocol and interface or gateway group that uses DHCP6 and has not yet received an IPv6 address.
Forum: https://forum.pfsense.org/index.php?topic=122958.0
And I know this has been discussed before, so there may be an issue already about this, but I can't find it.
It is annoying specially when setting up a system that is not yet online. It would be nice to allow this case through, assuming that if the interface/gateway group uses DHCP/DHCP6 then it will in future get an IPv4/IPv6 address.
Updated by Phillip Davis almost 8 years ago
A suggested solution in PR https://github.com/pfsense/pfsense/pull/3306
Updated by Renato Botelho almost 8 years ago
- Status changed from New to Feedback
- Target version set to 2.4.0
- % Done changed from 0 to 100
PR has been merged, thanks!
Updated by Phillip Davis almost 8 years ago
This just needs an independent person to test it.
Updated by Jim Pingle almost 8 years ago
- Target version changed from 2.4.0 to 2.3.3