NETSH - Windows 7 & Vista + Server 2008

netsh » advfirewall » firewall » set » rule

Microsoft Windows [Version 6.1.7000]
(C) Copyright 2009 Microsoft Corp.
C:\Windows>netsh advfirewall firewall set rule ? Usage: set rule group= | name= [dir=in|out] [profile=public|private|domain|any[,...]] [program=] [service=service short name|any] [localip=any|||||] [remoteip=any|localsubnet|dns|dhcp|wins|defaultgateway| ||||] [localport=0-65535|[,...]|RPC|RPC-EPMap|IPHTTPS|any] [remoteport=0-65535|[,...]|any] [protocol=0-255|icmpv4|icmpv6|icmpv4:type,code|icmpv6:type,code| tcp|udp|any] new [name=] [dir=in|out] [program= [service=|any] [action=allow|block|bypass] [description=] [enable=yes|no] [profile=public|private|domain|any[,...]] [localip=any|||||] [remoteip=any|localsubnet|dns|dhcp|wins|defaultgateway| ||||] [localport=0-65535|RPC|RPC-EPMap|any[,...]] [remoteport=0-65535|any[,...]] [protocol=0-255|icmpv4|icmpv6|icmpv4:type,code|icmpv6:type,code| tcp|udp|any] [interfacetype=wireless|lan|ras|any] [rmtcomputergrp=] [rmtusrgrp=] [edge=yes|deferapp|deferuser|no (default=no)] [security=authenticate|authenc|authdynenc|notrequired] Remarks: - Sets a new parameter value on an identified rule. The command fails if the rule does not exist. To create a rule, use the add command. - Values after the new keyword are updated in the rule. If there are no values, or keyword new is missing, no changes are made. - A group of rules can only be enabled or disabled. - If multiple rules match the criteria, all matching rules will be updated. - Rule name should be unique and cannot be "all". - If a remote computer or user group is specified, security must be authenticate, authenc or authdynenc. - Setting security to authdynenc allows systems to dynamically negotiate the use of encryption for traffic that matches a given Windows Firewall rule. Encryption is negotiated based on existing connection security rule properties. This option enables the ability of a machine to accept the first TCP or UDP packet of an inbound IPsec connection as long as it is secured, but not encrypted, using IPsec. Once the first packet is processed, the server will re-negotiate the connection and upgrade it so that all subsequent communications are fully encrypted. - Authdynenc is valid only when dir=in. - If action=bypass, the remote computer group must be specified when dir=in. - If service=any, the rule applies only to services. - ICMP type or code can be "any". - Edge can only be specified for inbound rules. Examples: Change the remote IP address on a rule called "allow80": netsh advfirewall firewall set rule name="allow80" new remoteip=192.168.0.2 Enable a group with grouping string "Remote Desktop": netsh advfirewall firewall set rule group="remote desktop" new enable=yes Change the localports on the rule "Allow port range" for udp- Set rule name="Allow port range" dir=out protocol=udp localport=5000-5020 action=allow

NETSH / ADVFIREWALL / FIREWALL / SET / RULE

netsh advfirewall firewall set rule - Windows Seven - command Sets new values for properties of a existing rule. / Windows Seven
netsh, advfirewall, firewall, set, rule, cmd, command, Windows, Seven
Quick - Link:
netsh wlan add filter
Add a wireless network into the wireless allowed or
netsh ipsec
Changes to the `netsh ipsec' context.
netsh wfp show security
Displays the specified security descriptor.
netsh interface set interface
Sets interface parameters.
netsh trace show
List interfaces, providers and tracing state.
netsh interface isatap set
Sets configuration information.








... Windows-10




Windows 10 How To

... Windows 10 FAQ
... Windows 10 How To




Sets new values for properties of a existing rule. / Windows 10, 8.1, Seven

HTTP: ... cmd/en/Windows_7/netsh/advfirewall/firewall/set/rule.htm
0.14
18877

Set the time for Windows 11 automatic maintenance!

 /

Speichern der Desktop Icon Positionen, Layouts Windows 11, 10, ... Tools!

 /

Would be happy to distribute the DesktopOK software automatically at our school (/silent)!

 /

Where are fonts stored in Windows 11 and 10 and the font folder location?

 /

Powerful sysdm.cpl ,3 command in Windows 10 / 11!

 /

In Windows 10 den integrierten PDF Drucker Treiber installieren!

 /

Gibt es Größenbeschränkung der Zwischenablage auf Windows 11, 10, ...?

 /

Old Explorer from 21H2 (Build 22000.168) Windows 11 available again!

 /

Windows 10 drop-down menus are aligned to the left, why not right?

 /

Use the Photos app on Windows 10 / 11 to print pictures!

 /

Desktop Clock Zelda breath of the wild, can I?

 /

Alpha-Transparency and Tools?

 /