[GH-ISSUE #2871] Restricting Port Access to VLESS-Authenticated Clients Only #1916

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

Originally created by @ShamiLok on GitHub (Apr 6, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2871

I have a service I want to access through VLESS. On the same server, there's also a VLESS server running. For some time, I had it working like this: the firewall blocked access to the service via the external interface, but allowed access via loopback. If the VLESS connection between the client and server wasn't established, accessing <server_ip:port> would be blocked.

However, after updating packages on the server, this setup no longer works.
I'm looking for the best way to achieve the same result using VLESS features.
How can I make a certain port accessible only when the client is connected via VLESS?

Originally created by @ShamiLok on GitHub (Apr 6, 2025). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2871 I have a service I want to access through VLESS. On the same server, there's also a VLESS server running. For some time, I had it working like this: the firewall blocked access to the service via the external interface, but allowed access via loopback. If the VLESS connection between the client and server wasn't established, accessing <server_ip:port> would be blocked. However, after updating packages on the server, this setup no longer works. I'm looking for the best way to achieve the same result using VLESS features. How can I make a certain port accessible only when the client is connected via VLESS?
bsakaguchi 2026-10-31 20:21:57 +07:00
  • closed this issue
  • added the
    question
    label
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#1916
No description provided.