rstun icon indicating copy to clipboard operation
rstun copied to clipboard

support multiple tcp tunnels and multiple udp tunnels in rstunc

Open aa51513 opened this issue 9 months ago • 2 comments

★support multiple tcp tunnels and multiple udp tunnels in rstunc via multiple quic channels

command example:

rstunc
  --mode OUT \
  --server-addr 1.2.3.4:6060 \
  --password 123456 \
  --cert path/to/cert.der \
  --tcp-mapping IN^0.0.0.0:2900^2800,OUT^0.0.0.0:4900^4800,0.0.0.0:6900^6800 \
  --udp-mapping IN^0.0.0.0:1900^1800,OUT^0.0.0.0:3900^3800,0.0.0.0:5900^5800 \
  --loglevel D

special note: For compatibility reasons, I do not deleted the parameter of mode to ensure that the original command can be executed successfully.

aa51513 avatar Feb 24 '25 15:02 aa51513

Maybe you can see that I am a Rust beginner and made many low-level mistakes in the process of modifying the code. Fortunately, you have the patience to point out

aa51513 avatar Mar 07 '25 14:03 aa51513

I've been really busy lately, but I'll review your code as soon as I have some free time. In the meantime, you can continue to refine your implementation or do more tests, and at the end squash all the commits into one.

neevek avatar Mar 20 '25 23:03 neevek

Apologies for the late reply – been buried in work and haven't touched my code since. Still crazy busy to be honest

aa51513 avatar Jun 30 '25 02:06 aa51513