subnetting the vpn tunnel for extra security and obfuscation in asuswrt-merlin.
Your satandard subnet has 254 usable addresses, But the vpn only allows 5 connections so why have all those other addresses your not using floating around. (I don't know, cause I'm still kind of stupid about alot of this). So I decreased the subnet to 8 or a total of 6 usable addresses, !st address and last address in subnet are used by something else (I don't know what, but you can't use them as addresses).
The easiest way i have found to shrinking the subnet is , half the distance to the goal. You start out with 254 usable addresses in the subnet, (0 and 255) belong something else, and is written with a 0 at the end of the subnet mask ie. 255.255.255.0. Half of 256, (0 is considered a address, so the 255 + 1) is 128 toatl addresses or 126 usable, who's subnet mask would be written as 255.255.255.128. but thats still to big for my tastes.
Here is a nice chart for you .
I chose to subnet down to 6 usable addresses, which is the minimum that asuswrt-merlin will allow you to do. (fyi if you need to have more than 6 clients in your password list including the admin one you will have to increase the size of one of your subnets, as the password list won't let you add more users than the subnets will allow, so 6 addresses means six users, more than that and ONE of the servers has to have a higher number of addresses. both servers don't have to on the same subnet.) and 14 usable addresses on the other. one servers for teching and phones passing through and the others site to site. And heres the biggie the subnet DOES NOT have to start at 0.
so if you wanted to write this in the advanced server section. a example is 10.11.12.16 mask is 255.255.255.248 would give you 8 addresses , 6 of which are usable. with a starting usable address of 10.11.12.17
10.11.12.0 mask 255.255.255.248
10.11.12.8 mask 255.255.255.248
10.11.12.16 mask 255.255.255.248
10.11.12.24 mask 255.255.255.248
etc.
and if you consult the handy dandy chart above you will see that for a 16 usable addresses you put in a subnet mask of 255.255.255.240, and your starting addresses 10.11.12.0, 10.11.12.16, 10.11.12.32, etc. ect.
I hope it helps my fellow dummies out there. and I expect others might correct me if I wrong about something or left something out.
Your satandard subnet has 254 usable addresses, But the vpn only allows 5 connections so why have all those other addresses your not using floating around. (I don't know, cause I'm still kind of stupid about alot of this). So I decreased the subnet to 8 or a total of 6 usable addresses, !st address and last address in subnet are used by something else (I don't know what, but you can't use them as addresses).
The easiest way i have found to shrinking the subnet is , half the distance to the goal. You start out with 254 usable addresses in the subnet, (0 and 255) belong something else, and is written with a 0 at the end of the subnet mask ie. 255.255.255.0. Half of 256, (0 is considered a address, so the 255 + 1) is 128 toatl addresses or 126 usable, who's subnet mask would be written as 255.255.255.128. but thats still to big for my tastes.
Netmask Quick Reference Chart
unixwiz.net
Here is a nice chart for you .
I chose to subnet down to 6 usable addresses, which is the minimum that asuswrt-merlin will allow you to do. (fyi if you need to have more than 6 clients in your password list including the admin one you will have to increase the size of one of your subnets, as the password list won't let you add more users than the subnets will allow, so 6 addresses means six users, more than that and ONE of the servers has to have a higher number of addresses. both servers don't have to on the same subnet.) and 14 usable addresses on the other. one servers for teching and phones passing through and the others site to site. And heres the biggie the subnet DOES NOT have to start at 0.
so if you wanted to write this in the advanced server section. a example is 10.11.12.16 mask is 255.255.255.248 would give you 8 addresses , 6 of which are usable. with a starting usable address of 10.11.12.17
10.11.12.0 mask 255.255.255.248
10.11.12.8 mask 255.255.255.248
10.11.12.16 mask 255.255.255.248
10.11.12.24 mask 255.255.255.248
etc.
and if you consult the handy dandy chart above you will see that for a 16 usable addresses you put in a subnet mask of 255.255.255.240, and your starting addresses 10.11.12.0, 10.11.12.16, 10.11.12.32, etc. ect.
I hope it helps my fellow dummies out there. and I expect others might correct me if I wrong about something or left something out.