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 over 7 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 #1

Updated by Phillip Davis almost 8 years ago

Actions #2

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!

Actions #3

Updated by Phillip Davis almost 8 years ago

This just needs an independent person to test it.

Actions #4

Updated by Jim Pingle almost 8 years ago

  • Status changed from Feedback to Resolved

Works

Actions #5

Updated by Jim Pingle over 7 years ago

  • Target version changed from 2.4.0 to 2.3.3
Actions

Also available in: Atom PDF