Project

General

Profile

Actions

Bug #7031

closed

Cannot configure OpenVPN on a DHCP interface that has not received an IP address

Added by Phillip Davis almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
12/22/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

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.

Actions

Also available in: Atom PDF