Skip to content
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

可以通过不同的TCP端口来搭建多个udp隧道吗? #511

Open
hhm-call opened this issue Feb 22, 2024 · 0 comments
Open

可以通过不同的TCP端口来搭建多个udp隧道吗? #511

hhm-call opened this issue Feb 22, 2024 · 0 comments

Comments

@hhm-call
Copy link

I have 4 virtual machines, which are R1, R2, R3, R4.
Their IPs are ip1、ip2、ip3、ip4.
I have wireguard on R1 and R4, udp2raw on R2 and R3.
wg运行在R1和R4上,其中R1和R2都是作为服务端的存在。

A UDPtunnel is successfully built.

#R2
udp2raw -s -l ip2:4567 -r ip1:51820 -k "wireguard-udp2raw" --raw-mode faketcp -a 

#R3
udp2raw -c -l ip3:51821 -r ip2:4567 -k "wireguard-udp2raw" --raw-mode faketcp -a 

#R4
[Peer]
Endpoint = ip3:51821

我可以通过额外添加以下命令来搭建第二条隧道吗?或者是如何搭建?
Can I set up another udptunnel between R2 and R3 by adding an additional command?

#R2
udp2raw -s -l ip2:1234-r ip1:51820 -k "wireguard-udp2raw" --raw-mode faketcp -a 

#R3
udp2raw -c -l ip3:51821 -r ip2:1234-k "wireguard-udp2raw" --raw-mode faketcp -a 

#R4
[Peer]
Endpoint = ip3:51821
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant