🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/angristan/openvpn-install/pull/1388
**Author:** [@angristan](https://github.com/angristan)
**Created:** 12/13/2025
**Status:** ✅ Merged
**Merged:** 12/13/2025
**Merged by:** [@angristan](https://github.com/angristan)
**Base:** `master` ← **Head:** `feature/firewalld-support`
---
### 📝 Commits (4)
- [`210f7d0`](https://github.com/angristan/openvpn-install/commit/210f7d05b0bef9973b9eaaed6fc861c28f1563af) feat: add native firewalld support
- [`03b9666`](https://github.com/angristan/openvpn-install/commit/03b966604012d611cde4fb86934c168df1eb18ae) test: add firewalld test support
- [`fa4b6d5`](https://github.com/angristan/openvpn-install/commit/fa4b6d55b10cd031f074a6bdde8d3d7d4ef86c60) docs: update README and FAQ for firewalld support
- [`652a940`](https://github.com/angristan/openvpn-install/commit/652a9400008e2fbd663c042a1836bb6fe6483d9a) fix: use source-based firewalld rules instead of interface binding
### 📊 Changes
**6 files changed** (+148 additions, -56 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/workflows/docker-test.yml` (+10 -0)
📝 `FAQ.md` (+2 -2)
📝 `README.md` (+2 -2)
📝 `openvpn-install.sh` (+57 -29)
📝 `test/Dockerfile.server` (+10 -0)
📝 `test/server-entrypoint.sh` (+67 -23)
</details>
### 📄 Description
## Summary
- Add native firewalld support for RHEL/Fedora/CentOS systems
- When firewalld is active, use `firewall-cmd --permanent` instead of raw iptables
- Rules persist across `firewall-cmd --reload`
- Fall back to iptables when firewalld is not active
- Add `After=firewalld.service` to iptables systemd unit for safety
## Changes
**Install:** Detect firewalld, use `firewall-cmd` to add port, masquerade, and rich rules. Fall back to iptables if inactive.
**Uninstall:** Detect which method was used and clean up accordingly.
**Tests:** Add `fedora-42-firewalld` CI test with firewalld enabled.
---
Closes https://github.com/angristan/openvpn-install/issues/356
Closes https://github.com/angristan/openvpn-install/pull/1200
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/angristan/openvpn-install/pull/1388
Author: @angristan
Created: 12/13/2025
Status: ✅ Merged
Merged: 12/13/2025
Merged by: @angristan
Base:
master← Head:feature/firewalld-support📝 Commits (4)
210f7d0feat: add native firewalld support03b9666test: add firewalld test supportfa4b6d5docs: update README and FAQ for firewalld support652a940fix: use source-based firewalld rules instead of interface binding📊 Changes
6 files changed (+148 additions, -56 deletions)
View changed files
📝
.github/workflows/docker-test.yml(+10 -0)📝
FAQ.md(+2 -2)📝
README.md(+2 -2)📝
openvpn-install.sh(+57 -29)📝
test/Dockerfile.server(+10 -0)📝
test/server-entrypoint.sh(+67 -23)📄 Description
Summary
firewall-cmd --permanentinstead of raw iptablesfirewall-cmd --reloadAfter=firewalld.serviceto iptables systemd unit for safetyChanges
Install: Detect firewalld, use
firewall-cmdto add port, masquerade, and rich rules. Fall back to iptables if inactive.Uninstall: Detect which method was used and clean up accordingly.
Tests: Add
fedora-42-firewalldCI test with firewalld enabled.Closes https://github.com/angristan/openvpn-install/issues/356
Closes https://github.com/angristan/openvpn-install/pull/1200
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.