[PR #3911] [CLOSED] feat #3910: enhance IP detection method to prioritize local interface… #5556

Closed
opened 2026-10-31 20:47:48 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3911
Author: @NabiKAZ
Created: 3/10/2026
Status: ❌ Closed

Base: main ← Head: fix-ip-detect-proxy


📝 Commits (3)

  • f438a7d feat #3910: enhance IP detection method to prioritize local interface and improve reliability
  • 20b113e Merge branch 'main' into fix-ip-detect-proxy
  • cf9403f Merge branch 'main' into fix-ip-detect-proxy

📊 Changes

1 file changed (+57 additions, -29 deletions)

View changed files

📝 x-ui.sh (+57 -29)

📄 Description

What is the pull request?

Fix #3910 - Add local network interface IP detection to avoid proxy interference. Now detects IP via ip addr first, falls back to external services, and allows user to manually override the detected IP.
About get SSL certificate.

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots

[INF] Starting automatic SSL certificate generation for server IP...
[INF] Using Let's Encrypt shortlived profile (~6 days validity, auto-renews)
[INF] Server IP detected: 1.1.1.1
Press Enter to use this IP, or type a different IP:

🔄 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/MHSanaei/3x-ui/pull/3911 **Author:** [@NabiKAZ](https://github.com/NabiKAZ) **Created:** 3/10/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-ip-detect-proxy` --- ### 📝 Commits (3) - [`f438a7d`](https://github.com/MHSanaei/3x-ui/commit/f438a7dd507861250f1ad08538333821c4e86fe7) feat #3910: enhance IP detection method to prioritize local interface and improve reliability - [`20b113e`](https://github.com/MHSanaei/3x-ui/commit/20b113ef43275d26ba2d25c22190d68b9a0690d2) Merge branch 'main' into fix-ip-detect-proxy - [`cf9403f`](https://github.com/MHSanaei/3x-ui/commit/cf9403ffe822c6feb099b087cb94335eae01a7f6) Merge branch 'main' into fix-ip-detect-proxy ### 📊 Changes **1 file changed** (+57 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `x-ui.sh` (+57 -29) </details> ### 📄 Description ## What is the pull request? Fix #3910 - Add local network interface IP detection to avoid proxy interference. Now detects IP via ip addr first, falls back to external services, and allows user to manually override the detected IP. About get SSL certificate. ## Which part of the application is affected by the change? - [ ] Frontend - [x] Backend ## Type of Changes - [x] Bug fix - [ ] New feature - [ ] Refactoring - [ ] Other ## Screenshots ``` [INF] Starting automatic SSL certificate generation for server IP... [INF] Using Let's Encrypt shortlived profile (~6 days validity, auto-renews) [INF] Server IP detected: 1.1.1.1 Press Enter to use this IP, or type a different IP: ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:48 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5556
No description provided.