wangyu- / udp2raw

A Tunnel which Turns UDP Traffic into Encrypted UDP/FakeTCP/ICMP Traffic by using Raw Socket,helps you Bypass UDP FireWalls(or Unstable UDP Environment)
MIT License
7.3k stars 1.17k forks source link

The issue of multiple ports with kcptun and udp2raw。 #503

Closed maojianyou closed 10 months ago

maojianyou commented 11 months ago

I am using kcptun in conjunction with udp2raw, and I know that kcptun supports multiple ports. Does udp2raw also support multiple ports?

HiGarfield commented 11 months ago

You can run multiple instances of udp2raw, with each instance using a separate port.

wangyu- commented 10 months ago

udp2raw doesn't have similiar multiple port as kcptun.

running multiple insntances is the only way.

maojianyou commented 10 months ago

You can run multiple instances of udp2raw, with each instance using a separate port.

If multiple instances are used, it is equivalent to running multiple udp2raw processes, resulting in a high number of udp2raw instances. Since kcptun only utilizes a single port for service, it would be beneficial if there is an automated mechanism to identify the specific port among, for example, 100 ports, eliminating the need to spawn numerous udp2raw processes unnecessarily.

maojianyou commented 10 months ago

udp2raw doesn't have similiar multiple port as kcptun.

running multiple insntances is the only way.

If multiple instances are used, it is equivalent to running multiple udp2raw processes, resulting in a high number of udp2raw instances. Since kcptun only utilizes a single port for service, it would be beneficial if there is an automated mechanism to identify the specific port among, for example, 100 ports, eliminating the need to spawn numerous udp2raw processes unnecessarily.