Jump to content

Firewall IP block


stay2theleft

Recommended Posts

Hello,

 

Is there a way to block a IP from entering one of our servers, i know GSP's don't like blocking them form the router but can it be done from a firewall program. IF so can someone recommend one for me, or can it be done using win-2003 firewall.

 

Thanks...

Link to comment
Share on other sites

IPSec is integrated to windows, no need to add extra app.

 

Can even be used in cmd line :

 

netsh ipsec static add policy name="IPBlock" description="Block specified IPs" activatedefaultrule=yes assign=no
netsh ipsec static add filteraction name="block" description="block traffic" action=block
netsh ipsec static add filter filterlist="block traffic" srcaddr=[b]PUT_THE_IP_HERE[/b] dstaddr=Me description="block this IP" protocol=any mirrored=yes
netsh ipsec static add rule name="block ip" policy="IPBlock" filterlist="block traffic" filteraction="block" activate=yes kerberos=no

 

thats for the first time then if wana block other IPs :

 

netsh ipsec static add filter filterlist="block traffic" srcaddr=[b]PUT_THE_IP_HERE[/b] dstaddr=Me description="block this IP" protocol=any mirrored=yes

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 21 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use