netmaker icon indicating copy to clipboard operation
netmaker copied to clipboard

Netmaker for Multi-Tenant with same egress gateway

Open pete1019 opened this issue 3 years ago • 1 comments

Contact Details

No response

What happened?

Hi,

Goal: something like a Multi-Tenancy where multiple Independent networks can have same egress gateway like 192.168.2.0/24. Right now this is not not possible since only one route (egress gateway) of 192.168.2.0/24 would be possible. Not multiple.

For that: manual docker commands (different port for every tenant) might be needed or would there be something easy in CLI or even Web-Gui be possible?

Thank a lot.

Version

v0.14.6

What OS are you using?

No response

Relevant log output

No response

Contributing guidelines

  • [x] Yes, I did.

pete1019 avatar Aug 02 '22 20:08 pete1019

Any update on this? Thanks!

pete1019 avatar Sep 15 '22 21:09 pete1019

This is possible if you do not use the server as the gateway.

On each network, create a node to use as egress gateway. Each egress gateway can only be on one network for this case.

in order to reach the egress range, other clients can only be on the network with the desired egress gateway. suggest using netclient disconnect/connect to ensure node is on correct network.

mattkasun avatar Sep 28 '22 13:09 mattkasun

Having a connect/disconnect button on Windows Client Gui would help in this case: https://github.com/gravitl/netmaker/issues/1601

pete1019 avatar Sep 28 '22 14:09 pete1019

netclient disconnect/connect can be run from a command prompt on all supported platforms

mattkasun avatar Sep 29 '22 14:09 mattkasun

Issue: netclient disconnect/connect takes a long time on windows. Wireguard Client instead is almost instant.

pete1019 avatar Nov 18 '22 21:11 pete1019