Allow IP ranges in whitelist
Is your feature request related to a problem? Please describe. Me and my girlfriend are trying to run a private Terraria server. Her ISP often changes her public IP.
Describe the solution you'd like Our best solution would be to use IP ranges to fix it entirely.
Describe alternatives you've considered There's not a whole lot of other ways to go about this, really. We could just allowlist every single IP in the IP range, but I don't think I have the patience for that, to be honest.
Both domain name and IP are supported so you could also try DDNS. There are also some plugins that provide better whitelist/ban e.g. by player name or wildcard on IP.
Could you give me links to said plugins?
- DDNS: there are quite a lot and never tried
- Allow specific user:
- hdseventh/TShock-Gatekeeper: seems to be ok but idk
- UnrealMultiple/BetterWhitelist: originally in Chinese and got translated
- Wildcard ban: yaaiomniDisclaimer: I wrote it
Got an implementation in the works for IP ranges, will push a PR once we hit .NET 8+ support on TShock codebase.
oh good!