LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   i need iptables to protect my server please help me (https://www.linuxquestions.org/questions/linux-security-4/i-need-iptables-to-protect-my-server-please-help-me-4175620355/)

Crey 12-26-2017 09:56 PM

i need iptables to protect my server please help me
 
Hello,
I Have Vps :Linux Debian 7x64 VPS For Game
I used tcpdump command to get the details and here are a portion of the results :
Please help me

Packet length is 15 according to tcpdump:

Code:

09:41:24.828327 IP 160.178.202.245.7130 > 217.182.38.3.27015: UDP, length 9
09:41:25.106254 IP 104.210.157.84.51167 > 217.182.38.x.27015: UDP, length 23
09:41:26.106112 IP 104.210.157.84.57081 > 217.182.38.x.27015: UDP, length 23
09:41:27.106337 IP 104.210.157.84.62835 > 217.182.38.x.27015: UDP, length 23
09:41:27.479291 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 25
09:41:27.523897 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 9
09:41:27.566177 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 9
09:41:28.104669 IP 104.210.157.84.52435 > 217.182.38.x.27015: UDP, length 23
09:41:29.106237 IP 104.210.157.84.58537 > 217.182.38.x.27015: UDP, length 23
09:41:29.938863 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 25
09:41:29.969873 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 9
09:41:30.021190 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 9
09:41:30.105351 IP 104.210.157.84.64806 > 217.182.38.x.27015: UDP, length 23
09:41:31.104946 IP 104.210.157.84.54407 > 217.182.38.x.27015: UDP, length 23
09:41:32.104917 IP 104.210.157.84.60731 > 217.182.38.x.27015: UDP, length 23
09:41:32.781839 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 25
09:41:32.812665 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 9
09:41:32.855340 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 9
09:41:33.104803 IP 104.210.157.84.50561 > 217.182.38.x.27015: UDP, length 23
09:41:34.106312 IP 104.210.157.84.56366 > 217.182.38.x.27015: UDP, length 23
09:41:35.105025 IP 104.210.157.84.62942 > 217.182.38.x.27015: UDP, length 23
09:41:35.486364 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 25
09:41:35.510774 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 9
09:41:35.555378 IP 160.178.202.245.7130 > 217.182.38.x.27015: UDP, length 9
09:41:36.105584 IP 104.210.157.84.52951 > 217.182.38.x.27015: UDP, length 23

Please help me
I do not understand in this much thing , I just want iptables to block These attacks , thanks to all <3
VPS Game (Anti DDoS) (Game Server Cs 1.6)

frankbell 12-26-2017 10:11 PM

I would suggest that you install ufw or gufw. ufw is command line; gufw is GUI. They are very user-friendly frontends for iptables.

They should be in the repos.

descendant_command 12-27-2017 03:43 AM

Ah, that's probably traffic to the listening port of your CounterStrike server.
Block those and you'll just be playing with yourself ... ;)

Crey 12-27-2017 03:49 AM

Quote:

Originally Posted by frankbell (Post 5798229)
I would suggest that you install ufw or gufw. ufw is command line; gufw is GUI. They are very user-friendly frontends for iptables.

They should be in the repos.

Can you take care fix this flood I do not understand linux I want anti iptable my server is down :/
go look screenshot attack : https://i.imgur.com/DZpTSyp.png

Crey 12-27-2017 03:52 AM

Quote:

Originally Posted by descendant_command (Post 5798275)
Ah, that's probably traffic to the listening port of your CounterStrike server.
Block those and you'll just be playing with yourself ... ;)

Is there a solution for this flood or no ?

descendant_command 12-27-2017 03:58 AM

Quote:

Originally Posted by Crey (Post 5798280)
Is there a solution for this flood or no ?

Yes, shutdown your server.... no more traffic.
Why exactly are you running the server if you don't want connections to it?


All times are GMT -5. The time now is 10:20 PM.