i try your rule
Code:
iptables -I INPUT -s 162.222.73.121 -dport 27043 -j DROP
but i have got this error
Code:
Bad argument `27043'
Try `iptables -h' or 'iptables --help' for more information.
as i understand from this
this rule block attacker ip from accessing gameserver ip on port 27043 and the attacker ip can access other yes ?
so i search on google and i got this rule to do this
Code:
iptables -I INPUT -p tcp -d 162.222.73.121 --dport 27043 -j DROP
iptables -I INPUT -p udp -d 162.222.73.121 --dport 27043 -j DROP
after this transaction i make test dos on my gameserver and it's not block attacker ip !!
i think the result must the attacker cant dos me on this port
so i decide to block the attacker ip using this rule
Code:
iptables -A INPUT -s 162.222.73.98 -j DROP
iptables -A OUTPUT -s 162.222.73.98 -j DROP
an no effect ! he still can mak DOS on my game server
i need to notice i take this point in mind (the attacker ip don't still same as previous ip because i am using free rdp to to make test dos attack)