-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
HA Network Routes: prevent routing directly-accessible networks through VPN interface #612
Conversation
e0e377c
to
ddc1e44
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for your PR @nazarewk, it is definitely helping with the case you described.
I have a few notes that I took into consideration on my request for changes:
In multi-hop routing cases, you want to route traffic via the VPN interface as the routing peer might be an intermediate router. In that case, will make sense to have different network routes for each hop.
Also, to document, with PR #606 we will be able to prevent similar case by using different distribution groups for routes, but only when different groups are used with routes and peers.
59f67b1
to
4e6823f
Compare
…gh VPN interface fixes: netbirdio#598
4e6823f
to
741bfe4
Compare
741bfe4
to
6935a32
Compare
6935a32
to
d1c35f3
Compare
d1c35f3
to
6ed4eb4
Compare
6ed4eb4
to
2d2235f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nazarewk thank you for the changes and hanging thought all the requests.
…gh VPN interface (#612) Prevent routing peer to add routes from the same HA group as client routes
…gh VPN interface (netbirdio#612) Prevent routing peer to add routes from the same HA group as client routes
Describe your changes
It prevents Server from adding rules to route directly accessible/own networks through VPN when the route is in HA mode (has more than 1 entry):
Peer
attribute:NetID
instead ofPeer
valuessee the linked issue for more details
Issue ticket number and link
fixes: #598
Checklist