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:

plesk bin firewall.exe --enable

Commands

Command Parameter Description Example
--enable or -e   Enables Firewall.

plesk bin firewall.exe --enable

--disable or -d   Disables Firewall.

plesk bin 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.

plesk bin firewall.exe --help