Bug 13781 - openVPN: Static IP address pools prevent adding new host connection
Summary: openVPN: Static IP address pools prevent adding new host connection
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all Unspecified
: - Unknown - Major Usability
Assignee: Michael Tremer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-27 13:02 UTC by Heino Gutschmidt
Modified: 2024-11-01 08:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heino Gutschmidt 2024-09-27 13:02:00 UTC
Overview:

As soon as an openVPN static ip address pool is setup a new host (RoadWarrior) cannot be added because dialog parts (Authentication, Advanced client options) are missing. You cannot even save or cancel. As soon the static pool is beeing removed you can add connections using the dynamic pool.

Steps to reproduce:

Install a fresh IPFire (2.29 (x86_64) - Core-Update 188), configure openVPN service with a static IP address pool, and add a new Host-to-Net connection.


Additional Information:

Core-Update 182 is working fine. It seems to be independent of the browser (Firefox and Chrome tested). I did some debugging and found that has something to do getccdadresses (called by getccdadresses, /srv/web/ipfire/cgi-bin/ovpnmain.cgi) but could not find the reason yet.

Best Regards,
Heino
Comment 1 Adolf Belka 2024-09-27 15:16:24 UTC
Fix has already been applied into Core Update 189 Testing.

https://community.ipfire.org/t/openvpn-roadwarrior-trouble-in-core-update-188/12142
Comment 3 Adolf Belka 2024-09-27 15:19:58 UTC
Fix was tested on latest nightly build of Core Update 189 Testing - a7ac62f4

New client connection could be successfully added with Static IP pool in place.

New client connection created and tested by installing into my laptop and successfully made connection which could be pinged in both directions.

Old client connection also still worked.