Hello !
guys someone is adding bots in my server , server become full 64/64
how can i ban his ip from my vps?
what i should write in putty to ban his ip , and he cannot acces to servers or websites with my vps's ip , thx
Hello !
guys someone is adding bots in my server , server become full 64/64
how can i ban his ip from my vps?
what i should write in putty to ban his ip , and he cannot acces to servers or websites with my vps's ip , thx
iptables -A INPUT -s xxx.xxx.xxx.xxx -j DROP
thank uuuuu ^^
and to unbann what is the command please?
Last edited by kung foo man; 10th September 2016 at 02:34. Reason: merge double post
Instead of -D you can use --delete as wellCode:iptables -D INPUT -s xxx.xxx.xxx.xxx -j DROP
Also, if you like a post, just press the Thanks button lol
timescale 0.01
Reus (10th September 2016)
big thanks to you dude but i don't understand XDDDDDDDDDDDD !
ban command : iptables -A INPUT -s xxx.xxx.xxx.xxx -j DROP
unbann command :
write for me unbann command again please mate!
iptables --delete INPUT -s xxx.xxx.xxx-j DROP
this command doesn't work lol , help guys
to remove a ban
Xx.xx.xx is the ip...
i know dude i'm not an asshole.
but iptables --delete INPUT -s xxx.xxx.xxx-j DROP
for this putty doesn't respond , unknown command or something like that
okay mitch thank you :P