Skip to content
WJunction - Webmaster Forum

how do I block putty without blocking FTP

Status
Not open for further replies.
hello

my RDP servers are being attacked (apparently with putty)
I know I can block the attack by activating windows firewall
but that also blocks FTP
 

14 comments

Martin...this link (youtube) will guide you how to access FTP with putty using command prompt window. Try this..sorry if you are not looking for this one.

URL - [ame]http://www.youtube.com/watch?v=Sd8JqBw3eJw[/ame]
 
You are defo not attacked by putty, that's just a software. People are using that software to connect on servers via SSH/telnet etc and uses that to attack you.
 
As WizzUpload said you need to block ssh/telnet protocol access, putty is just a software to connect via that protocol. you can also restrict login via ssh just from your IP, Search these terms on google you will find a lot of tutorials on how to do it: "block ssh by ip" or "block ssh brute force" or "ssh access disable"
 
THANKS
but I tried putting that in the command prompt and it's not redesigning the command

hmmm I was just reading the telnet uses port 21
that's the default FTP port
 
Last edited:
well I dono what im doing wrong

C:\Users\Administrator>-A INPUT -p tcp --dport 22 -j DROP
'-A' is not recognized as an internal or external command,
operable program or batch file.



C:\Users\Administrator>iptables -A INPUT -p tcp --dport 22 -j DROP
'iptables' is not recognized as an internal or external command,
operable program or batch file.
 
Windows CLI: netsh advfirewall firewall delete rule name=blockssh name protocol=TCP localport=22

*NIX CLI: iptables -A INPUT -p tcp --dport 22 -j DROP

LitZ
 
Status
Not open for further replies.

About the author

A
Active Member · Joined
835
Messages
198
Reactions
43
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom