|
Alternatively, you can save the command and the associated parameters in a script file(Page 70).Syntax for the activation of all firewall rules regarding file and printer releasenetshadvfirewall firewallset rule name="File and Printer Sharing (NB-Session-In)" new enable=yesprofile=set rule name="File and Printer Sharing (NB-Session-Out)" new enable=yesprofile=set rule name="File and Printer Sharing (SMB-In)" new enable=yesprofile=set rule name="File and Printer Sharing (SMB-Out)" new enable=yesprofile=set rule name="File and Printer Sharing (NB-Name-In)" new enable=yesprofile=set rule name="File and Printer Sharing (NB-Name-Out)" new enable=yesprofile=set rule name="File and Printer Sharing (NB-Datagram-In)" new enable=yesprofile=set rule name="File and Printer Sharing (NB-Datagram-Out)" new enable=yesprofile=set rule name="File and Printer Sharing (Spooler Service - RPC)" newenable=yes profile=set rule name="File and Printer Sharing (Spooler Service - RPC-EPMAP)" newenable=yes profile=set rule name="File and Printer Sharing (Echo Request - ICMPv4-In)" newenable=yes profile=set rule name="File and Printer Sharing (Echo Request - ICMPv4-Out)" newenable=yes profile=set rule name="File and Printer Sharing (Echo Request - ICMPv6-In)" newenable=yes profile=set rule name="File and Printer Sharing (Echo Request - ICMPv6-Out)" newenable=yes profile=set rule name="File and Printer Sharing (LLMNR-UDP-In)" new enable=yesprofile=set rule name="File and Printer Sharing (LLMNR-UDP-Out)" new enable=yesprofile=Table 4-9 Description of the Netsh commands in the context of the advfirewall firewallCom‐mandParameter Description Valuenetsh Specification of the command line pro‐gram, which executes the followingcommands.-adv‐firewallDefines the context in which the follow‐ing commands are to be carried out.-firewall Subcontext of "advfirewall". -setruleAdaptation of existing firewall rules. -name Name of the firewall rule in quotationmarks."File and Printer Sharing (NB-Session-In)" | ...Configuration of the system4.17 Adapting the firewall settingsPCU Base Software (IM10)84 Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1 PreviousNext |