Project

General

Profile

Bug #7136

OpenVPN not binding to IP Aliases -> NO LOGS generated

Added by James Webb 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Very High
Assignee:
-
Category:
OpenVPN
Target version:
Start date:
01/18/2017
Due date:
% Done:

100%

Affected version:
2.4
Affected Architecture:

Description

Steps to replicate:
- Create an IP Alias on any interface e.g. 127.0.0.2 on Localhost
- Attempt to bind OpenVPN server to this interface on any port
- OpenVPN instance will not start and no logs are generated!

James Webb

Associated revisions

Revision ddf99718
Added by Phillip Davis 2 months ago

Fix #7136 Start OpenVPN on ordinary VIP

Revision 9f8751b5
Added by Phillip Davis 2 months ago

Fix #7136 Start OpenVPN on ordinary VIP

(cherry picked from commit ddf99718d5f1f4545483c39d3759fdfbb788b0fb)

History

#1 Updated by Phillip Davis 2 months ago

Yes, the code does not even try to start such an OpenVPN instance, thus there are no logs.
This PR fixes it on my test VM:
https://github.com/pfsense/pfsense/pull/3398

But there might be other side-effects - it will need review.

#2 Updated by Phillip Davis 2 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Jim Pingle 2 months ago

  • Status changed from Feedback to Resolved

Failed without the new code, works fine with the fix in place. Looks good.

#4 Updated by Jim Pingle about 1 month ago

  • Target version changed from 2.4.0 to 2.3.3

Also available in: Atom PDF