sepppeter22
I have a project where, for some reasons :roll:, the whole private 10.0.0.0/8 range is reserved (so, not useable).
My OpenVPN setup looks like this:
- I have an "infinite" number of VPN Servers
- I have quite a few VPN Clients (definitely less than 256)
- each VPN Client might connect to each VPN Server
So, I decided to use the 172.16.0.0/12 range for the VPN Server IPs.
When I configure a VPN server like this:
server 172.16.1.0 255.255.255.0
I guess each client will assign an IP like 172.16.1.1, 172.16.1.2, 172.16.1.3,....
This means, when 256 clients should connect to this server, the whole 172.16.1.0/24 range will be occupied.
Am I right so far?
So my approach would be to configure each server with it's own private subnet like so:
server 172.16.1.0 255.255.255.0
server 172.16.2.0 255.255.255.0
server 172.16.3.0 255.255.255.0
....
server 172.17.4.0 255.255.255.0
server 172.17.5.0 255.255.255.0
....
This approach would limit me to 4096 servers and 256 clients, am I right?
My question is if you guys see a more efficient use of the 172.16.0.0/12 space to have as many clients and servers as possible
I hope this was not too confusing :mrgreen: thanks in advance