a question about ipseccmd.exe


 ipseccmd.exe used block port 



.............
 tcp    127.0.0.1:40000        0.0.0.0:0              listening       3704
 tcp    127.0.0.1:40000        127.0.0.1:1129         established     3704
..................


if want block tcp 40000


c:\documents , settings\user\my documents\k200611249742>ipseccmd  -p myfirewal
l -f *+0:40000:tcp -n block -w reg -x

the command completed successfully.



but found command below:


ipseccmd -p myfirewall -r rpc-dcom -f *+0:135:tcp *+0:135:udp *+0:137:udp *+0:138:udp *+0:139:tcp *+0:445:tcp *+0:445:udp -n block -w reg -x

a question "-r rpc-dcom "------------where can find regular names "rpc-dcom", in ipseccmd /? no details


hi,

according article below:

ipseccmd
http://technet.microsoft.com/en-us/library/bb490922.aspx

ipseccmd dynamicmodeparameters -w type[:location] -p policyname[:pollinterval] -r rulename [{-x | -y}] [-o]

-r   rulename   : required. specifies name of rule. if rulename contains spaces, use quotation marks around text (that is, "rule name").

-r specifics rule name can customize.

thanks.

this posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

more indexes

ActiveDirectory

Virtual Channel