firewall.exe: Firewall

The firewall.exe utility serves to manage Windows Firewall. The Firewall configuration file winfw.conf.xml is located in %plesk_bin% directory.

Location

%plesk_cli%

 

Usage
firewall.exe <command> [<option> <param>]

 

Example

The following command enables default Firewall rules:

firewall.exe --enable

 

Commands
Command Parameter Description Example

--enable or -e

 

Enables Firewall.

firewall.exe --enable

--disable or -d

 

Disables Firewall.

firewall.exe --disable

--set or -s

 

Enables default firewall rules for the specified network interface from the Firewall configuration file.

Requires -interface option.

See Example above.

--help or -h

 

Displays help on the use of the utility.

firewall.exe --help