Allow select subnet size #869

Closed
opened 2025-11-20 05:18:56 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @tiagogbarbosa on GitHub (May 10, 2024).

Is possble to add a option to change subnet and/or subnet size so wont conflict with other vpns?

Thank you

Originally created by @tiagogbarbosa on GitHub (May 10, 2024). Is possble to add a option to change subnet and/or subnet size so wont conflict with other vpns? Thank you
saavagebueno added the feature-requestnetworking labels 2025-11-20 05:18:56 -05:00
Author
Owner

@mlsmaycon commented on GitHub (May 11, 2024):

Hello @tiagogbarbosa, thanks for your request.

We have a /16 subnet size with a random pick to avoid conflict with other solutions that use the CGNAT range. Can you share more about your case? like what is the other VPN solution you are using and what is their subnet range?

@mlsmaycon commented on GitHub (May 11, 2024): Hello @tiagogbarbosa, thanks for your request. We have a /16 subnet size with a random pick to avoid conflict with other solutions that use the CGNAT range. Can you share more about your case? like what is the other VPN solution you are using and what is their subnet range?
Author
Owner

@nuterum commented on GitHub (May 12, 2024):

If you need to make the change no matter what i have explain how to do it here.

But as you seem to already have peer it may be a bit long to do and for now i can't say for sure that no problem will occur.
I am still in testing phase of it (start 2 day ago) and for now everything working without problem.

@nuterum commented on GitHub (May 12, 2024): If you need to make the change no matter what i have explain [how to do it here.](https://github.com/netbirdio/netbird/issues/1633#issuecomment-2106228602) But as you seem to already have peer it may be a bit long to do and for now i can't say for sure that no problem will occur. I am still in testing phase of it (start 2 day ago) and for now everything working without problem.
Author
Owner

@tiagogbarbosa commented on GitHub (May 12, 2024):

Hello @tiagogbarbosa, thanks for your request.

We have a /16 subnet size with a random pick to avoid conflict with other solutions that use the CGNAT range. Can you share more about your case? like what is the other VPN solution you are using and what is their subnet range?

I have a need to set my own 24 (max) subnet because server has multiple vpns connections and servers and is a "hub" between multiple clients network for my equipments.. they all call back home via vpn and need to access multiple network, those clients in their policy allow only specifc port and ips on their network, so i need to use various type of vpn , openvpn, wireguard , fortinet .. etc..

and i want to use netbird in my phone/computer to easy access those devices remote from home

And also i think is a good idea to let user select the network and netmask, if user dont want/can use the default

@tiagogbarbosa commented on GitHub (May 12, 2024): > Hello @tiagogbarbosa, thanks for your request. > > We have a /16 subnet size with a random pick to avoid conflict with other solutions that use the CGNAT range. Can you share more about your case? like what is the other VPN solution you are using and what is their subnet range? I have a need to set my own 24 (max) subnet because server has multiple vpns connections and servers and is a "hub" between multiple clients network for my equipments.. they all call back home via vpn and need to access multiple network, those clients in their policy allow only specifc port and ips on their network, so i need to use various type of vpn , openvpn, wireguard , fortinet .. etc.. and i want to use netbird in my phone/computer to easy access those devices remote from home And also i think is a good idea to let user select the network and netmask, if user dont want/can use the default
Author
Owner

@tiagogbarbosa commented on GitHub (May 12, 2024):

If you need to make the change no matter what i have explain how to do it here.

But as you seem to already have peer it may be a bit long to do and for now i can't say for sure that no problem will occur.
I am still in testing phase of it (start 2 day ago) and for now everything working without problem.

Nice, will try too, will report back soon

Thank you

@tiagogbarbosa commented on GitHub (May 12, 2024): > If you need to make the change no matter what i have explain [how to do it here.](https://github.com/netbirdio/netbird/issues/1633#issuecomment-2106228602) > > But as you seem to already have peer it may be a bit long to do and for now i can't say for sure that no problem will occur. > I am still in testing phase of it (start 2 day ago) and for now everything working without problem. Nice, will try too, will report back soon Thank you
Author
Owner

@nazarewk commented on GitHub (Aug 6, 2025):

implemented by https://github.com/netbirdio/netbird/pull/4177
released at https://github.com/netbirdio/netbird/releases/tag/v0.53.0

@nazarewk commented on GitHub (Aug 6, 2025): implemented by https://github.com/netbirdio/netbird/pull/4177 released at https://github.com/netbirdio/netbird/releases/tag/v0.53.0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#869