Project

General

Profile

Actions

Bug #15148

closed

OpenVPN Wizard fails when a VIP is used

Added by Steve Wheeler 12 months ago. Updated 12 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
Due date:
% Done:

100%

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

Description

If you create a remote access server using the OpenVPN wizard and select a VIP as the interface it creates an invalid config and firewall rule.

In both cases it's because the 'interface' is populated incorrectly, for example:

<interface>_vip5f14838faac2c|172.21.16.88</interface>

That is using a CARP VIP on WAN.

Resaving the server config creates the correct values:

-            <interface>_vip5f14838faac2c|172.21.16.88</interface>
+            <interface>_vip5f14838faac2c</interface>
+            <ipaddr>172.21.16.88</ipaddr>

The firewall rule is created in the config but the nvalid interface means it cannot be resaved in the webgui.

Actions #1

Updated by Marcos M 12 months ago

  • Tracker changed from Regression to Bug
  • Status changed from New to Ready To Test
  • Assignee set to Marcos M
Actions #2

Updated by Steve Wheeler 12 months ago

Looks good with that patch applied to 23.09.1 in aarch64.

Actions #3

Updated by Marcos M 12 months ago

  • Status changed from Ready To Test to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by dylan mendez 12 months ago

Looks good in 23.09.1 - SG2100 and 2.7.1 in a VM.

Actions #5

Updated by Marcos M 12 months ago

  • Status changed from Feedback to Resolved
  • Affected Version deleted (2.7.2)
Actions

Also available in: Atom PDF