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.

Esta resposta lhe foi útil?

 Imprimir este Artigo

Veja também

EMC / SAN HD Ready

Posted by ti_nhatrang, 04-15-2007, 03:33 AMHi guys, I've purchased AX150/EMC SAN from DELL......

Create A Real Time Web Page

Posted by batulang, 08-14-2006, 06:34 AMHi Everybody, I was thinking is that possible to...

M2M Host Offers Discount Across All Web Hosting Plan This Christmas!

Posted by livechatdir, 12-17-2009, 08:49 PM M2M Host, the leading web hosting company...

Unable to change the file attribute

Posted by tuxican, 09-14-2007, 12:09 PMHi all, I am not able to change the attribute of a...

Seeking a new host

Posted by Bloory, 08-03-2002, 12:57 PMI'm looking for a host with a maximum cost of around £35...