Skip to content

fix(openvpn): ensure at least one public IP is provided and not empty - #839

Merged
Tbaile merged 2 commits into
mainfrom
fix_drawer_defaults_public_ip
Oct 21, 2026
Merged

Tbaile merged 2 commits into
mainfrom
fix_drawer_defaults_public_ip

Conversation

@m-dilorenzi

Copy link
Copy Markdown
Collaborator

When the API returned no public IP, the OpenVPN drawers showed no input field, only the "Add" button, and the tunnel/RW server could be saved without a public IP.

  • OpenVPN tunnel and Road Warrior drawers always show at least one public IP field
  • The public IP is mandatory: the last field can't be deleted and the form can't be saved without it

Closes: NethServer/nethsecurity#1951

@m-dilorenzi
m-dilorenzi requested a review from Tbaile October 21, 2026 13:30
@m-dilorenzi m-dilorenzi self-assigned this Oct 21, 2026
@Tbaile Tbaile removed this from NethSecurity Oct 21, 2026
@Tbaile
Tbaile merged commit 49e42bc into main Oct 21, 2026
5 checks passed
@Tbaile
Tbaile deleted the fix_drawer_defaults_public_ip branch October 21, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenVPN: public IP field missing when public IP detection fails

2 participants