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:

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

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.