[DiscordArchive] <@200677690838220800> May I ask for some clarification on localAddress and localSubnetMask in the au
[DiscordArchive] <@200677690838220800> May I ask for some clarification on localAddress and localSubnetMask in the au
Archived author: droidlev • Posted: 2023-10-07T20:14:42.867000+00:00
Original source
<@200677690838220800> May I ask for some clarification on localAddress and localSubnetMask in the auth table. I am up and running fun externally with my public address in the address field of the auth table. My internal server ip is 10.10.10.107 on a /24. I have clients (local) that will be on 10.10.35.x/24 and on 10.10.10.x/24. Am I able to use the localAddress and localSubnetMask fields for this?
Archived author: Tea • Posted: 2023-10-07T20:15:25.891000+00:00
Original source
ignore subnetmask field, its unused but kept for table structure compatibility with 3.3.5 branch
Archived author: Tea • Posted: 2023-10-07T20:15:49.315000+00:00
Original source
subnetmask is read from os network interface
Archived author: droidlev • Posted: 2023-10-07T20:15:52.419000+00:00
Original source
ah. okay. that's now clear. thank you.
Archived author: droidlev • Posted: 2023-10-07T20:16:02.562000+00:00
Original source
how about the local address? how is that used?
Archived author: Tea • Posted: 2023-10-07T20:17:19.981000+00:00
Original source
both fields do the exactly same, they are read from database then when a client connects, server picks them based on subnetmask match that we read from network interface
Archived author: droidlev • Posted: 2023-10-07T20:17:52.595000+00:00
Original source
got it. so is it used as 10.10.10.107 for the server, or is it a 10.10.10.0
Archived author: droidlev • Posted: 2023-10-07T20:17:58.900000+00:00
Original source
oh! they BOTH
Archived author: droidlev • Posted: 2023-10-07T20:18:26.086000+00:00
Original source
they BOTH read from the interface, so they are not used on master. okay, cool. I will try another route. Thank you for your time!!!
Archived author: droidlev • Posted: 2023-10-07T20:18:59.469000+00:00
Original source
this is going to be fun on docker. x.x