本帖最後由 张无忌 於 2025-9-9 13:20 編輯
3x-ui on Linux server
这次我用美国的Vultr VPS[1]做Linux server,再看看[2,3,4],知道3x-ui的流程,code name都是用x-ui,在里面都加很多东西,如Reality和TLS,在这里我没有用,张来再加上去,3x-ui的资料在这里找到[5]。
如图1,IP=144.202.115.187,user=root,password用copy。
Figure 1:
1. 用Putty,IP=144.202.115.187,port=22,use Putty to "Open","Putty Security Alert", "Accept"。
2. "Login as: root" and password=<copy password> gives- login as: root
- root@144.202.115.187's password:
- Linux vultr 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10)x86_64
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- root@vultr:~#
複製代碼 3. 用[6],先update,然后安装git package,Debian/Ubuntu:- apt update -y && apt install git -y
複製代碼 4. 输入3x-ui shell script- bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)
複製代碼 我们一般5000,也可以用自动- Would you like to customize the Panel Port settings? (If not, a random port will be applied) [y/n]: y
- Please set up the panel port: 5000
複製代碼 Listing 1: 表一- ###############################################
- Username: MNVgJWEkl9
- Password: bE7PvbgQc7
- Port: 5000
- WebBasePath: OEBrhWEBXdZBubz
- Access URL: http://144.202.115.187:5000/OEBrhWEBXdZBubz
- ###############################################
複製代碼 5. 再输入x-ui
Listing 2: 表二"3X-UI Panel Management Script"- root@vultr:~# x-ui
- The OS release is: debian
- ╔────────────────────────────────────────────────╗
- │ 3X-UI Panel Management Script │
- │ 0. Exit Script │
- │────────────────────────────────────────────────│
- │ 1. Install │
- │ 2. Update │
- │ 3. Update Menu │
- │ 4. Legacy Version │
- │ 5. Uninstall │
- │────────────────────────────────────────────────│
- │ 6. Reset Username & Password │
- │ 7. Reset Web Base Path │
- │ 8. Reset Settings │
- │ 9. Change Port │
- │ 10. View Current Settings │
- │────────────────────────────────────────────────│
- │ 11. Start │
- │ 12. Stop │
- │ 13. Restart │
- │ 14. Check Status │
- │ 15. Logs Management │
- │────────────────────────────────────────────────│
- │ 16. Enable Autostart │
- │ 17. Disable Autostart │
- │────────────────────────────────────────────────│
- │ 18. SSL Certificate Management │
- │ 19. Cloudflare SSL Certificate │
- │ 20. IP Limit Management │
- │ 21. Firewall Management │
- │ 22. SSH Port Forwarding Management │
- │────────────────────────────────────────────────│
- │ 23. Enable BBR │
- │ 24. Update Geo Files │
- │ 25. Speedtest by Ookla │
- ╚────────────────────────────────────────────────╝
- Panel state: Running
- Start automatically: Yes
- xray state: Running
- Please enter your selection [0-25]:
複製代碼 6. 再输入21- Please enter your selection [0-25]: 21
- 1. Install Firewall
- 2. Port List [numbered]
- 3. Open Ports
- 4. Delete Ports from List
- 5. Enable Firewall
- 6. Disable Firewall
- 7. Firewall Status
- 0. Back to Main Menu
- Choose an option:
複製代碼 7. Type 3 and then 5000- Choose an option: 3
- Enter the ports you want to open (e.g. 80,443,2053 or range 400-500): 5000
複製代碼 8. 这一步用"表一",我们用browser进入3x-ui的版面,- Access URL: http://144.202.115.187:5000/OEBrhWEBXdZBubz
複製代碼 Figure 2:
在上面图右上角,可以改动繁体到简体,和其他颜色。
Figure 3:
输入"用户名" and"密码"在表一- Username: MNVgJWEkl9
- Password: bE7PvbgQc7
複製代碼 再输入,"登录"
Figure 4:
9. "入站列表","添加入站","创建",这次我们建立"节点"
Figure 5.
10. Open Ports add 33256- x-ui
- <表二>
- Please enter your selection [0-25]: 21
- 1. Install Firewall
- 2. Port List [numbered]
- 3. Open Ports
- 4. Delete Ports from List
- 5. Enable Firewall
- 6. Disable Firewall
- 7. Firewall Status
- 0. Back to Main Menu
- Choose an option: 3
- Enter the ports you want to open (e.g. 80,443,2053 or range 400-500): 33256
複製代碼 11. "通用操作","导出链接"- vless://655d63b1-d9a7-4c24-ac07-cecba2649830@144.202.115.187:33256?type=tcp&security=none#430jk4fn
複製代碼 用OpenWrt可以用PassWall,没有OpenWrt,就用Windows V2RayN。
用PassWall add节点,"Enter", check ping time and speed
测试:在大陆测试美国的YouTube
Figure 6
结论:
1. 现在用Vultr VPS做Linux server,安装了3x-ui,在美国建了一个普通的节点,没有Reality and TLS。
2. 用Windows V2RayN或OpenWrt OpenWall建立大陆和美国"分流"。
3. 安装旧x-ui,不能提供上面第9的"入站列表","添加入站",于是改用3x-ui shell script。
References:
[1] Vultr VPS 注册,加钱及选机型
[2] 2025年3X-UI面板搭建保姆教程:一键安装Xray科学上网,轻松自建VPS节点全攻略!🚀
[3] 【3X-UI面板使用教程】为什么翻墙老手都用3X-ui面板搭建节点?无需代码,三分钟带您学会使用最新版3X-ui面板搭建节点丨自建节点教程丨v2rayN使用教程丨节点搭建丨保姆式教程
[4] 2025最新的保姆级教程:3X-UI面板更好用?VPS通过3X-UI面板搭建个人节点,实现科学上网|一键搭建Xray面板|轻松实现翻墙|V2rayN教程 |网络加速|网络安全|VPN tutorial
[5] MHSanaei / 3x-ui
[6] https://amcbbs.com/17.html
目录帖子GL.iNet and OpenWrt Contents |