Forum
Trash (Linux) Firewall(Linux) Firewall
30 repliesPoll
What do you think about it?
Only registered users are allowed to vote
I agree. | 62.50% (10) | |
I disagree. | 25.00% (4) | |
Doesn't have opinion. | 12.50% (2) |
16 votes cast
So only way to protect your self you need to have bigger bandwidth (+Firewall). All others methods are worthless.
edited 1×, last 15.06.15 03:45:09 pm
So i high recommended that script cause if he attack u server, he done job and come check server will restart and show him 'u cant beat me u punk!'
After he will angry and will cry all night. And leave your servers obviously
End of the game.
lennon If you don't use firewall your server will go down from few bytes flood.
@ Evaldas: You're partially true but not just that. Majority of people here host their servers with the VPS and such attacks like (D)DoS attacks, it could damage your VPS. Of course this depend on how the strong the attack it is.
Well I have everyday peoples up to 10 persons so hehe
This rule it blocks DDoS attacks for UDP ports.
1
iptables -A INPUT -p UDP --dport 7 -j DROP
1
iptables -A INPUT -p UDP --dport 19 -j DROP
1
iptables -A INPUT -p UDP -f -j DROP
Remember these only those rules do not help! Study the very iptables this and my advice.
1
2
3
2
3
iptables -P INPUT DROP iptables -P FORWARD DROP iptables -A INPUT -m state --state INVALID -j DROP
1
2
2
iptables -P INPUT --source unrealsoftware.de -j ACCEPT iptables -A INPUT -p udp --dport 36963 --sport 20000-50000 -j ACCEPT
Web Surfing.
1
2
3
2
3
iptables -A INPUT -p udp --sport 53 -j ACCEPT iptables -A INPUT -p tcp --sport 80 -j ACCEPT iptables -A INPUT -p tcp --sport 443 -j ACCEPT
SHH Connection.
1
iptables -A INPUT -p tcp --sport 22 -j ACCEPT
To watch bandwidth.
1
dstat --net --socket --cpu
Didn't want to renew thread so just edited post
edited 1×, last 08.09.15 03:41:39 pm