mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #2196] Windows version? #1509
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#1509
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?
Originally created by @castell0riz0n on GitHub (Apr 2, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2196
Hello, I’ve noticed the recent release of a Windows distribution on this GitHub repository. Could you please provide more details or documentation regarding the Windows version included in this distribution?
@mmdjvdad commented on GitHub (Apr 3, 2024):
here is what I've found in several days working with 3x-ui 2.2.7 windows version and x-ui windows from somebody else
3xui.exe file should run in a windows server VPS. should put the 3xui.exe file and xray.exe file in firewall to allow the connection and you should open the ports in firewall. 3xui.exe file should be open all time and you should put it in startup folder. I've couldn't find any way to run x-ui command to edit the xray and change any thing. there is no way to install Fail2ban for user connection control. fake and original certificates can be used for configs (not panel) but you should do ( Allow insecure = on) in configs but somehow you should get certs yourself.
I had problem that exe file didn't run properly in VPS but after updating Go 1.21 works fine.
@castell0riz0n commented on GitHub (Apr 3, 2024):
Thanks for your detailed description
For those who don't know how to run the Windows distro
Install the Go v1.22 or later in your Windows VPS
Copy the files to a safe Folder in your Windows
Run 3x-ui.exe as administrator
Create an IIS website and set the directory of the site to the safe 3x-ui.exe folder. add binding name for example ui.yourdomain.com
Download and run win-acme in your Windows server and follow the steps to get a certificate for your domain for free.
Install these IIS modules: URL-Rewrite and ARR (Application request routing v3)
Restart IIS using iisreset in the Windows CMD and then open IIS manager. find and click on your xui site that was created previously and open the URL Rewrite of the selected application. click on add a new rule and then add a new reverse proxy rule. In the opened dialog enter localhost:2053 and check Enable SSL offloading and press the OK button.
Now open your domain (https://ui.yourdomain.com) in another device and everything is working.
please keep in mind if you restart your windows you should run 3x-ui.exe again manually. so add this file to the startup of Windows to solve this problem
in my tests, if you enable the access.log file x-ray will crash and you should restart 3x-ui.exe
if you use Win-Acme to generate an SSL certificate you don't need a certificate file to add to your panel
@silenceleaf commented on GitHub (May 24, 2024):
I got the following error when run on windows:
@mmdjvdad commented on GitHub (May 24, 2024):
Install go language in windows server. V 1.23 or later