View Single Post
vn_lind
Member
Join Date: Jul 2017
Old 05-30-2021 , 11:54   Re: Hardening SRCDS with iptables rules
Reply With Quote #43

Quote:
Originally Posted by TomL. View Post
He's talking about whistling ip addresses, not opening specific ports.
But yes if you want to allow only connections via specific ports you need to add all of the game transmission ports for each server/application.
i did that but my hlstatsx is not working :

it says :

TRCON: Cannot setup TCP socket on ip: Connection timed out

what can be the cause ?

i have allowed the stats ip

Code:
iptables -A INPUT -p tcp -s IP -j ACCEPT
Fixed but i still get flood ,, even with all this settings .....

in my log :

Code:
May 31 13:55:48  kernel: [137438.406925] SRCDS-XSQUERY IN=eno1.158 OUT= MAC=90:b1:1c:a4:8b:d9:68:05:ca:0d:ff:36:08:00 SRC=IP DST=IP LEN=37 TOS=0x00 PREC=0x00 TTL=121 ID=53211 PROTO=UDP SPT=7130 DPT=27018 LEN=17
how can i stop that ?

Last edited by vn_lind; 05-31-2021 at 06:59.
vn_lind is offline