mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5905] [CLOSED] [Feature] Add firewall backend selection (iptables/nftables/none) to Fail2ban/IP Limit installer #6026
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6026
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5905
Author: @hermit-turtle
Created: 7/11/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (10+)
8fa97e5Update install.sh848998eUpdate x-ui.sh6f0c649Update install.sh0dbc06fUpdate install.sh2b2c9e7Merge branch 'main' of https://github.com/hermit-turtle/3x-ui5e328c8Merge branch 'main' into main07883a2Merge branch 'main' into mainca67ca0Merge branch 'MHSanaei:main' into maincdce5edMerge branch 'MHSanaei:main' into main8991908Merge branch 'MHSanaei:main' into main📊 Changes
3 files changed (+241 additions, -148 deletions)
View changed files
📝
install.sh(+51 -8)📝
internal/web/service/xray.go(+13 -0)📝
x-ui.sh(+177 -140)📄 Description
Summary
Added support for choosing the firewall backend for Fail2ban/IP Limit during installation: iptables (default), nftables, or none (skip). This makes the panel more compatible with modern systems while keeping full backward compatibility.
Why
Type of change
Areas affected
How was this tested?
x-uimenu → IP Limit section after installation.Breaking changes
None.
Default behavior remains exactly the same (
iptables). Existing installations are not affected unless user explicitly chooses a different backend on reinstall.Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.