How can I prevent DDos on my server?
Hello! I am running a gmod server but its down half the time sadly. Why so? It gets DDosed to death. I have to run it off my own pc incase you need to know. How can I prevent DDos or figure out who is doing it?
< >
Showing 1-7 of 7 comments
ZipTake8.5 Nov 22, 2022 @ 7:44pm 
Use VPN if you want to stop preventing from it?
TheSniperCatt0 Nov 22, 2022 @ 7:52pm 
Originally posted by 𝙸𝚃𝙺𝙴𝚈𝚂𝙾𝙽:
Use VPN if you want to stop preventing from it?
are there any good free ones?
[N]ebsun Nov 23, 2022 @ 1:07am 
If you run the server, then you should be able to see all inbound (and outbound) traffic.
You will have to set up firewall rules to block the attack, while still allowing legit traffic to reach the server.

I find that the usual attacks come from amazon / microsoft / roblox / or other various datacenter / hosting providers - either through the attacker paying to use those services to ddos, or via malware or other vulnerabilities in whatever legit server software is running there.

Usually from countries that are very far away - so a geoip based restriction can work to a good extent.

Since it's Windows, I don't know of an easier way to see and filter the traffic other than something like wireshark - filter based on inbound traffic with the destination port that your server is running on

I am not 100% sure if gmod uses the A2S protocol (but I think it does), so adding the challenge auth will help prevent dos reflection
In your startup script, or in environment variables, set these:

set STEAM_GAMESERVER_A2S_INFO_REQUIRE_CHALLENGE=1
set STEAM_GAMESERVER_PACKET_HANDLER_NO_IPC

see the thread for more details
https://steamcommunity.com/discussions/forum/14/2974028351344359625
Last edited by [N]ebsun; Nov 23, 2022 @ 1:15am
ZipTake8.5 Nov 23, 2022 @ 1:16am 
I don’t think wireshark isn’t good
Last edited by ZipTake8.5; Nov 23, 2022 @ 1:17am
🅰𝐗★DΣVIL Nov 23, 2022 @ 8:30am 
yes
ZipTake8.5 Nov 23, 2022 @ 9:50pm 
Originally posted by ☬ 🅷🅴🆁🅾🅸🅽 ☬:
yes
Tell me what’s wireshark do?
ZipTake8.5 Nov 23, 2022 @ 9:51pm 
Originally posted by CrazySniperCatt0:
Originally posted by 𝙸𝚃𝙺𝙴𝚈𝚂𝙾𝙽:
Use VPN if you want to stop preventing from it?
are there any good free ones?
They are not free ones you must paid them
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Nov 22, 2022 @ 6:58pm
Posts: 7