mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #4435] [CLOSED] fix: Allow bypassing private IP validation #5693
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#5693
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/4435
Author: @mfmoti
Created: 5/16/2026
Status: ❌ Closed
Base:
main← Head:fix/private-ip-blocked📝 Commits (4)
974783efix: enable user to disable ip security checks using env variableALLOW_PRIVATE_IPSd18c4c8chore(Dockerfile): run go mod download before copying full source486f66eMerge branch 'main' into fix/private-ip-blocked721921bfix📊 Changes
5 files changed (+16 additions, -3 deletions)
View changed files
📝
Dockerfile(+3 -0)📝
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 is my secondary account as my main account (the commiter) is flagged
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.