Jump to content

Firewall Mod - Linux (experimental)


Recommended Posts

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

  • Like 3
  • Upvote 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...