Block MS SQL Port 1433
You can block port 1433 through Ipsec . Goto start run and execute secpol.msc command , Right click IP security policies on local computer , click create IP security policy , click next,Name it as per your convention,here I will name it as block 1433 , click next , untick the checkbox Activate the default response rule , click next , click finish .
Click add , you will get Welcome to the create IP security rule wizard , click next,select the radio button This rule does not specify a tunnel , click next , select the radio button All network conenctions , click next , click add , name the IP Filter list as block 1433 , click add you will get a Welcome to the IP filter wizard, click next , check the checkbox , Mirrored, Match packets with the exact opposite source and destination addresses,click next , select source address My IP Address , click next , Destination Address Any IP address , Click next , select protocol type as TCP , click next, check the Radio Button , from this port and enter 1433 , click next , click finish , click Ok , select the Block 1433 radio button (The Ipsec Policy Name) ,click next .
You will get a security rule wizard , where you need to set the filter action such as block or allow . Click add, You will get welcome to IP security filter action wizard , click next , set the filter action name as block 1433 , click next , check the block button , click next , click finish , now check the block 1433 filter action , click next , click finish ,
click ok .
In the right Pane , right click on the policy name and click Assign . Thats it . You have blocked port 1433 . In the same way you can block several ports and open ports through ipsec .
Regards,
Paul.
Windows Support Department .
|