-
-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
traffic through one port 443, generation of bad settings for the client #1548
Comments
Hello @alexeyp0708 , When you defined an IP for xray to listen on, panel will not change it in the link unless using The option |
And what to do with the port for subscription? |
this is actually done in the cloudflare panel. |
Settings in nginx and so it is done that The problem is that in the QR code of the client and the client settings the link is displayed like this |
это настраивается в разделе Подписки. и домен, и порт (443 кстати совершенно лишнее) как и ненужное слово /sub/ |
Мой "внешний прокси NGINX" и панель с подпиской на одной хост машине. Прокси и и Панель нельзя привязать к одному порту 443. Это можно будет сделать только в докер контейнерах с пробросом портов в сети bridge. Физически вы не сможете указать в настройках панели порт 443 , так как он занят NGINX . Если его указать, то что-то перестанет работать. Настройки таковы что на хост машине кроме 443 порта , другим портам запрещено смотреть во внешнюю сеть. Задача стоит - подписки и панель на одном домене и на одно IP. Nginx b 3x-ui установлены на хост машине. Функционально панель и подписки на разных портах . En The settings are so that on the host machine, except for 443 ports, other ports are forbidden to look at the external network. The task is worthwhile - subscriptions and a panel on one domain and on one IP. Nginx and 3X-UI are installed on the host machine. Functionally panel and subscriptions on different ports. |
To change your sub link, use |
These settings are Inactive in the settings. |
This topic of the bug that I noticed only now. https://youtu.be/OUo3zrDcA9g |
OK. The problem was in my carelessness. Sorry. For a problem with edit panel blocked , i am created a different topic. |
я никак не использую JSON LINK. |
Hi, I noticed that you take part in the development (3x-UI) [https://github.com/mhsanaei/3x-ui] and your commits fall on the merger.
Unfortunately, in the original repository, the "Issues" section is closed. Therefore, I will describe the problem for you. Perhaps you will somehow affect her.
I set up servers where all traffic goes through one proxy port [0.0.0.0.0:443]. The panel is configured to IP 127.0.0.1:8000. The subscription is configured to IP 127.0.0.1:8001, Xray on IP 127.0.0.1:8443.
When generating the client settings, it is indicated 127.0.0.1:8443, when generating the reference links, Port is indicated: 8001
Although there should be a port 443
A server IP should be IP VPN or an indication of a fake domain if it is on the same IP VPN.
The passage of traffic through 443 port is compliance with safety rules and masking traffic. HTTP traffic on other ports will be suspicious. (HTTP traffic is easily calculated - on the HTTP request will be HTTP response headline).
.
Describe the bug
Дано:
nginx listen : 0.0.0.0:443
xray listen - 127.0.0.1:8443
3x-ui panel listen - 127.0.0.1:8000
3x-ui subscription listen - 127.0.0.1:8001
domain name : panel.name.domain
fake domain:
nginx.conf
xray config.json
We create a client for connection in the panel and the following settings will be created:
https://panel.name.domain:8001/sub/sjffsjfdfkj
. It must behttps://panel.name.domain:443/sub/sjffsjfdfkj
https://panel.name.domain:8001/json/sjffsjfdfkj
. It must behttps://panel.name.domain:443/json/sjffsjfdfkj
https://127.0.0.1:8443
. It must behttps:// {VPN _IP}:443
or ifMY_FAKE_DOMAIN_IP === VPN _IP
thenhttps:// {MY_FAKE_DOMAIN}:443
.To solve this problem, you need to add an additional section of settings to install the client’s variables, as did in Marzban panel. If the value of the variable is indicated, then this variable will be applied, if not indicated, then the variable value will be taken from the panel settings.
If you consider this problem worthy, voiced it for mHsanai
The text was updated successfully, but these errors were encountered: