mirror of
https://github.com/angristan/openvpn-install.git
synced 2026-11-12 00:51:24 +01:00
[PR #1354] [MERGED] fix: disable ifconfig-pool-persist when duplicate-cn is enabled #375
Reference in new issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/angristan/openvpn-install/pull/1354
Author: @angristan
Created: 12/11/2025
Status: ✅ Merged
Merged: 12/12/2025
Merged by: @angristan
Base:
master← Head:fix/ifconfig-pool-persist-duplicate-cn📝 Commits (1)
b65c80cfix: disable ifconfig-pool-persist when duplicate-cn is enabled📊 Changes
2 files changed (+8 additions, -3 deletions)
View changed files
📝
README.md(+1 -1)📝
openvpn-install.sh(+7 -2)📄 Description
Summary
ifconfig-pool-persistto server.conf whenMULTI_CLIENT != yFirst reported in https://github.com/angristan/openvpn-install/issues/440#issuecomment-2987417197
Background
ifconfig-pool-persistis incompatible withduplicate-cn. Whenduplicate-cnis enabled, OpenVPN bypasses common name matching in the IP pool allocation, making the persistence file ineffective.From OpenVPN source:
Previously, the script always added
ifconfig-pool-persist ipp.txtregardless of whetherduplicate-cnwas enabled viaMULTI_CLIENT=y.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.