Skip to content

Firewall Mod - Linux (experimental)

Featured Replies

WARNING: This mod is still experimental, don't use it on LIVE servers.

 

This is an old mod of mine which i ditched since it carries many risks but i decided to share it for "educational" purposes and with the hope you guys give some insight and help to make it functional and safe to run.

 

The idea behind this mod is to give an extra layer of protection for host-machines against DDOS attacks.
When DDOS occurs ---> trigger the lockdown mechanism allow only in game (player) IP's and block all unknown traffic.
Putting all in game players to "quarantine" will lead to question "How will a player who wasn't online during the lockdown get their IP added to the whitelist?". Well my temporary solution for that is to combine it with discord bot by adding a bot command for example:  !addIP 127.0.0.1  or by adding an option in your site (user CP) "allow my ip" it could be button or whatever.  Incase of discord bot command has to be sent to the bot itself and not in channels (obviously). Still giving your IP is sus for many people (i dont blame them). If you guys have better ideas you are more than welcome to share them here.

Obviously this is the theory behind my idea. I'm not even sure if it's possible, but that's why I shared it with you all. It could potentially be useful for many server owners.

 

OS: Linux - Debian 12

CODE -> pass : maxcheaters

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.