Ejemplo
Ejemplo de activación de todas las reglas de cortafuegos relacionadas con el uso compartido de
ficheros e impresoras
netsh
advfirewall firewall
set rule name="File and Printer Sharing (NB-Session-In)" new enable=yes
profile=public
set rule name="File and Printer Sharing (NB-Session-Out)" new enable=yes
profile=public
set rule name="File and Printer Sharing (SMB-In)" new enable=yes
profile=public
set rule name="File and Printer Sharing (SMB-Out)" new enable=yes
profile=public
set rule name="File and Printer Sharing (NB-Name-In)" new enable=yes
profile=public
set rule name="File and Printer Sharing (NB-Name-Out)" new enable=yes
profile=public
set rule name="File and Printer Sharing (NB-Datagram-In)" new enable=yes
profile=public
set rule name="File and Printer Sharing (NB-Datagram-Out)" new enable=yes
profile=public
set rule name="File and Printer Sharing (Spooler Service - RPC)" new
enable=yes profile=public
set rule name="File and Printer Sharing (Spooler Service - RPC-EPMAP)" new
enable=yes profile=public
set rule name="File and Printer Sharing (Echo Request - ICMPv4-In)" new
enable=yes profile=public
set rule name="File and Printer Sharing (Echo Request - ICMPv4-Out)" new
enable=yes profile=public
set rule name="File and Printer Sharing (Echo Request - ICMPv6-In)" new
enable=yes profile=public
set rule name="File and Printer Sharing (Echo Request - ICMPv6-Out)" new
enable=yes profile=public
set rule name="File and Printer Sharing (LLMNR-UDP-In)" new enable=yes
profile=public
set rule name="File and Printer Sharing (LLMNR-UDP-Out)" new enable=yes
profile=public
PCU Base para IPC
Manual de puesta en marcha, 10/2020, 6FC5397-2HP40-0EA1
Configuración del sistema
4.18 Adaptar ajustes del cortafuegos
85