[GH-ISSUE #4366] Port forwarding to wireguard peer #2974

Closed
opened 2026-10-31 20:29:16 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @alexalv76-sudo on GitHub (May 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4366

It is impossible to forward external TCP port to peer N connected to the wireguard inbound. This feature can be used to play network games for example using 3x-ui server as entry point to connect skave (client) players to master (server) player, which is connected to 3xui server using wireguard, and which started game server on his computer

Describe the solution you'd like

Add rule or outbound which will route tcp socket from tcp port inbound to 10.0.0.x local ip of wireguard inbound.

Describe alternatives you've considered

Alternative is to not isolate wireguard peers of one inbound (by enabling setting). To create virtual private network between peers

Checklist

  • This feature report is written entirely in English.
Originally created by @alexalv76-sudo on GitHub (May 14, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4366 ### Is your feature request related to a problem? It is impossible to forward external TCP port to peer N connected to the wireguard inbound. This feature can be used to play network games for example using 3x-ui server as entry point to connect skave (client) players to master (server) player, which is connected to 3xui server using wireguard, and which started game server on his computer ### Describe the solution you'd like Add rule or outbound which will route tcp socket from tcp port inbound to 10.0.0.x local ip of wireguard inbound. ### Describe alternatives you've considered Alternative is to not isolate wireguard peers of one inbound (by enabling setting). To create virtual private network between peers ### Checklist - [x] This feature report is written entirely in English.
bsakaguchi 2026-10-31 20:29:16 +07:00
Author
Owner

@OOOlledj commented on GitHub (May 15, 2026):

That would be useful to forward UDP as well, many online games use this transport too.

<!-- gh-comment-id:4461586363 --> @OOOlledj commented on GitHub (May 15, 2026): That would be useful to forward UDP as well, many online games use this transport too.
Author
Owner

@alexalv76-sudo commented on GitHub (May 29, 2026):

How to setup this feature?

<!-- gh-comment-id:4576486968 --> @alexalv76-sudo commented on GitHub (May 29, 2026): How to setup this feature?
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#2974
No description provided.