DumpAdminCache() behind NAT
I have run several test about DumpAdminCache(), which is commonly used by SourceBans++
What I found, DumpAdminCache() didn't work when game server are bind NAT/Router DumpAdminCache() not working when behind NAT/Router: Code:
10.41.3.8:27018 [ public 80.84.45.10:27018 ] DumpAdminCache() working when Private BGP (Border Gateway Protocol): Code:
192.168.88.2:27016 [ public 121.121.123.14:27016 ] Code:
91.11.14.89:27015 [ public same ] Where Home A LANs able to access Home B LANs without NAT It seem DumpAdminCache() require dump data arrived at same IP, is this a security feature or can be disable or NATed Server is not supported? |
Re: DumpAdminCache() behind NAT
I'm afraid it isn't clear what you're explaining here - could you add some examples of what you're seeing and what you're expecting? Not just the environmental differences.
The `DumpAdminCache()` native just cleans up internal data, it absolutely does not care anything about your server or client IP. |
Re: DumpAdminCache() behind NAT
Quote:
https://github.com/sbpp/sourcebans-p...n.sp#L689-L695 I have ask SB++ about this, so asking here since code lead to DumpAdminCache(); I copy whole server from VPS to Home Lab, so environment is the same Here the network map, the X where sm_rehash not working https://pictr.com/images/2022/11/26/Eg3Uol.png |
Re: DumpAdminCache() behind NAT
You're still talking about the environment I'm afraid.
What tests have you done that show it isn't working? |
Re: DumpAdminCache() behind NAT
SourceBans++ Rehash Admin.
Based on image of network map: ✅ = Admin Rehash successful, sb_admins.cfg contain admin steam id, flags, ... ❌ = Admin Rehash failed, blank sb_admins.cfg You can replicate this by hosting L4D2 behind router, where srcds status show LAN and WAN IP together, execute sm_rehash and check sb_admins.cfg contain admin or blank... |
Re: DumpAdminCache() behind NAT
The admin cache code path has nothing to do with writing sb_admins.cfg - I’m afraid you’ve gone off on the wrong track somewhere.
|
Re: DumpAdminCache() behind NAT
Quote:
the sb_admins.cfg file become blank when server IS behind NAT/Router... it do something with +ip launch parameter. I add WireGuard Tunnel between SourceBans++ Website and Game Server (wg0, 192.168.255.0/24), then launch server with +ip 192.168.255.2 (bind to wg0 tun iface), surprisingly sb_admins.cfg worked, has admin info, but no connection to Steam |
All times are GMT -4. The time now is 00:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.