Quote:
Originally Posted by LogenWilson
Hi
I know how to block 1 single IP for certain port. But suppose I want to accept only 1 single IP for certain port and wan to block others. How to make it?
|
Yes, you can permit access on a single ip for specific port, say MSSql port 1433.
If you have a windows server, the simplest way to achieve this is using windows firewall,
- Open windows firewall , then select exception tab.
- In the exception list you add the port in it is not present.
- Then click on Edit >> Change Scope
- then in the Custom List, specify the desired ip address and click okay
The other way is through Security policies , you would need to create a rule to allow a single ip on a specific port in secpol.msc.