I need to assign one user a static IP address; I need to be sure no other users will get that address. I'm doing this because I'm using iptables to grant only this one user access to the LAN. All other users get outbound access to the WAN only.
If I do this the 'standard' way, I need to use ifconfig-pool to limit the dynamic addresses so they won't conflict with my static address. This is a pain because it means I have to use a postconf script to remove the 'server' option because 'server' and 'ifconfig-pool' are incompatible and Merlin uses 'server'.
I'd like to be creatively lazy.
If I set "max-clients 20" and I put my VPN on 10.1.0.0, it seems to me like the dynamically assigned addresses would never exceed 10.1.0.20, and I could safely assign my static user (or users) beginning at 10.1.0.100 without fear of conflict.
Can I get away with this? Am I missing a risk?
If I do this the 'standard' way, I need to use ifconfig-pool to limit the dynamic addresses so they won't conflict with my static address. This is a pain because it means I have to use a postconf script to remove the 'server' option because 'server' and 'ifconfig-pool' are incompatible and Merlin uses 'server'.
I'd like to be creatively lazy.
If I set "max-clients 20" and I put my VPN on 10.1.0.0, it seems to me like the dynamically assigned addresses would never exceed 10.1.0.20, and I could safely assign my static user (or users) beginning at 10.1.0.100 without fear of conflict.
Can I get away with this? Am I missing a risk?