mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #4434] [CLOSED] fix: Allow bypassing private IP validation #5691
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#5691
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/4434
Author: @fmotalleb
Created: 5/16/2026
Status: ❌ Closed
Base:
main← Head:fix/private-ip-blocked📝 Commits (1)
974783efix: enable user to disable ip security checks using env variableALLOW_PRIVATE_IPS📊 Changes
4 files changed (+13 additions, -3 deletions)
View changed files
📝
config/config.go(+8 -0)📝
web/controller/xray_setting.go(+2 -1)📝
web/job/xray_traffic_job.go(+2 -1)📝
web/service/tgbot.go(+1 -1)📄 Description
What does this pull request do?
Adds an option to bypass the private/internal IP address checks introduced in #4275.
When the
ALLOW_PRIVATE_IPSenvironment variable is set totrue, the private IP validation logic is skipped.Which part of the application is affected by this change?
Type of change
Related issue
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.