Ylianst/MeshCentralRouter

WebRTC support for MeshCentral Router

Closed this issue · 10 comments

maccn commented

MeshCentral Router is great tool and with its increasing usage, more and more traffic will be relayed via MeshCentral Server and increase the server's bandwidth usage and hosting cost.

Just to see if you will consider to make MeshCentral Router to support WebRTC, which can make the MeshCentral Router will try to establish connection with MeshCentral Agent directly first to reduce the server's relay pressure?

I assume that both MeshCentral Router and MeshCentral Agent use your own WebRTC stack and doesn't depend on Chrome or Firefox's WebRTC, which has less WebRTC compatibility issue when transferring P2P data between MeshCentral Router and Againt via WebRTC..

BTW, where can I find the source code of MeshCentral Router? I tried to find in MeshCentral Server and MeshCentral Agent's source code, but no luck. Thanks in advance for the help.

You nailed that request exactly right! Indeed, we built our own data channel only WebRTC stack in the MeshAgent and could also put it in the MeshCentral Router. It would avoid traffic going thru the server and so, reduce hosting costs and latency. I don't think there would like anything else like it, software that port maps TCP/UDP over WebRTC. This new feature had crossed my mind before.

Your right, code is missing, I will post it on GitHub this week. MeshCentral Router started out as a small side project, I am glad it's getting some use.

I for one would love to use MC Router but can't find definitive document on how to set it up: I seem to remember reading once that it was a Windows only option at the moment, is this correct?

maccn commented

Thanks a lot, Ylianst. Much appreciated. Looking forward to try the WebRTC powered MeshCentral Router:)

@D4V3M0NK, you can find the current doc for MC Router from link below, which will guide you to start the MC router journey.

MeshCentral Router with WebRTC is going to be a lot of work! Going to take a while :)

@D4V3M0NK: MeshCentral Router is Windows only, however, MeshCmd can do the same from the command line on any platform. I have not worked on MeshCmd port mapping as much, but should work.

@maccn : thank you ...

@Ylianst : I understand the Router is a Windows application (for the moment??) and in reading the documentation, there's a suggestion that it would only work with MC installed on a Windows based server. Is that correct, or can the client Windows router work with MC installed on a Linux server?

MeshCentral Router is a Windows executable, but it will connect to and work with any servers and agents installed on any OS. You can use it with Putty or WinSCP to connect to a Linux machine thru a Linux based server. Hope that helps.

Is this still on track or should we close this?

@si458 will this be implemented? I havent tested on linux

si458 commented

@dinger1986 will keep this open as it is a good enhancement request as i dont believe the router supports webrtc at the moment!
but sadly im not a C expert for the router app https://github.com/ylianst/meshcentralrouter

closing in favor of #2