-
Notifications
You must be signed in to change notification settings - Fork 552
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
allowed ips is not published from a node which is accesable via relay node #498
Comments
Any news? |
Hi, nodes will ignore egress gateway IP ranges if they overlap with a local network range. Does 192.168.99.0/24 overlap with a local network range? |
192.168.99.0/24 is the internal network of the node2 |
is it also an internal network of node 1? |
no. Node2 is configured as egress gw for 192.168.99.0/24 to be able to reach other hosts in that network from vpn members. The needed allowed ips setting is configured on any direct connected host. But node1 cannot reach node2 directly due fw blocks, so I configured netmaker server as relay for node1. The problem is, that node1 does not get the allowed ips "192.168.99.0/24 " to be send via the wg connection to the relay server. I do not know if this done in the backround, but for my understanding, netmaker needs to collect all allowed ips from nodes, which are not relayed over that relay and need to push them to the relayed hosts. |
Ahhh ok, I think this is related to #517. We don't populate egress gateway ranges from behind relay right now. We will need to add that in the next release. |
For the moment the workarround is: |
@afeiszli I checked the changelog of 0.9.2 for this but I was not able to find it. (Maybe to dump to do so 😇) |
This has not been added yet. 0.9.2 was for bug fixes so no new features were added. |
This should be in place as of 0.9.4. Please let us know if you still experience the issue. |
Node1 : missing allowed ips for egres gw range of node 2
|
|
netmaker server: relay for Node1
|
|
Node2: egress gw for 192.168.99.0/24
In this network I have 3 more nodes and one external
I could manage this manually via adding allowed ips = 192.168.99.0/23 to netmaker server , so Node 1 is getting the allowed ips range, and then I need to add the ip route add 192.168.99.0/24 via
Is this kind of setup to special for netmaker, or do I need to work with multiple networks?
The text was updated successfully, but these errors were encountered: