gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.5k stars 552 forks source link

Can the game use wireguard P2P networking for LAN battles? #640

Closed wnark closed 2 years ago

wnark commented 2 years ago

I tried it and can ping each other, but ra3 doesn't seem to be able to play LAN battles through wireguard 1642932601(1) 1642932651(1) Even if I make the game only use the wireguard network card by hooking

wnark commented 2 years ago

https://github.com/Tom-Plants/RedAlert3NetworkFix I am using this project to hook the game

afeiszli commented 2 years ago

If there is connectivity between the nodes then there should not be a limitation. There are others using WireGuard for p2p gaming successfully, You may want to consider adjusting MTU?

wnark commented 2 years ago

If there is connectivity between the nodes then there should not be a limitation. There are others using WireGuard for p2p gaming successfully, You may want to consider adjusting MTU?

Is there any other game that has verified that wireguard can be used for LAN battles? Let me test it?

wnark commented 2 years ago

If there is connectivity between the nodes then there should not be a limitation. There are others using WireGuard for p2p gaming successfully, You may want to consider adjusting MTU?

I guess that this kind of game may need to use the tap network card to use the LAN battle function normally. Because when I used n2n, n2n created a tap network card, and the LAN battle function was normal at this time. WLHYJB0U1O3L0B)L%O%Y$02

afeiszli commented 2 years ago

@wnark have you tried this on a recent version (v0.12.0)? Wondering if you have any updates on this issue. Again, there should be no limitations on running games over the network, but we have done no testing of using Netmaker for LAN games, so cannot really help here.

afeiszli commented 2 years ago

Closing as no response. You may reopen if you have more details.