Auto Block IP Windows 2003

Posted by directhostinguk, 05-06-2007, 02:39 PM
Anyone got any ideas how to detect and block IP’s automatically using RRAS I have a problem with people trying to connect to MsSQL. I can’t close this port because I allow clients remote access. I have so many it feels the windows event log. I know you can run this command to add a IP and Port to RRAS Just need to find away of detecting them netsh routing ip add filter name="Local Area Connection" filtertype=OUTPUT srcaddr=0.0.0.0 srcmask=0.0.0.0 dstaddr=xxx.xxx.xxx.xxx dstmask=255.255.255.255 proto=TCP srcport=0 dstport=1433 Thanks in advance Last edited by directhostinguk; 05-06-2007 at 02:43 PM.

Posted by besty, 05-06-2007, 04:09 PM
Better make use of any firewall like Visnetic. FOR Ex: VisNetic Firewall lets you block IP addresses or ranges of addresses to prevent unwanted connection attempts. This can be particularly effective in stopping repeated requests from a hacker who is trying a large number of hacks, looking for one that works

Posted by directhostinguk, 05-06-2007, 04:27 PM
This isn't a rang I've got eveything from 61 - 219

Posted by tweakservers, 05-07-2007, 10:48 AM
perhaps changing your MS SQL listening port to alternative port will helps in this issue. However, your client will need to enter the correct port on their connection string to be able to connect.

Posted by plumsauce, 05-07-2007, 05:54 PM
The only feasible ways I see of doing this are: 1. limit logins to static ip's and have your RRAS setup to only allow these source addresses through on 1433. 2. use port forwarding of port 1433 over ssh tunnels and require your customers to use ssh. .

Posted by directhostinguk, 05-07-2007, 06:06 PM
I'm looking at doing something in VB that will read the Event Log if there is more than 10 failed logins in 10 minutes then I'll block that IP and send me a email.

Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

Help wanted: ASP.NET / mono setup

Posted by raqtweak.com, 03-25-2007, 10:52 AMHi all, I'm looking for volounteers for the...

order and login issues

Posted by zomby, 03-21-2007, 11:40 PMHi everyone, I have installed plesk as control panel for...

Seem Internet Solutions gone down?

Posted by Jollyjohn, 09-11-2001, 07:41 PMwww.seem.co.uk appear to have disappeared, taking my...

How to go about PCI compliance?

Posted by ramdak5000, 01-14-2008, 09:48 PMI have taken basic security measures on my VPS such as...

Can some explain this in a simple way?

Posted by subhash, 02-21-2011, 07:52 AMHello Guys, Can some body explain what exactly is...