Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

Smallish script to prevent smallish A2S attacks with source engine servers. Supports servers running on docker (using the DOCKER-USER chain) and on bare metal/tmux/etc (using the INPUT chain). Vaguely adapted from https://forums.alliedmods.net/showthread.php?t=151551.

License

Notifications You must be signed in to change notification settings

CreatorsTF/tf2-srcds-hardening-iptables-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

tf2-srcds-hardening-iptables-docker

Smallish script to prevent smallish A2S attacks with source engine servers, specifically tested with TF2. Supports servers running on docker (using the DOCKER-USER chain) and on bare metal/tmux/etc (using the INPUT chain). Vaguely adapted from https://forums.alliedmods.net/showthread.php?t=151551.

Trusted Hosts

Under /etc/hosts.trusted, to allow a list of hosts unbridled access to your servers, you can create a file called /etc/hosts.trusted and add a list of IPs you trust separated by a newline.

Example of such a file:

192.168.0.1/24
10.0.12.1/24

About

Smallish script to prevent smallish A2S attacks with source engine servers. Supports servers running on docker (using the DOCKER-USER chain) and on bare metal/tmux/etc (using the INPUT chain). Vaguely adapted from https://forums.alliedmods.net/showthread.php?t=151551.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages