The firewall utility serves to manage Windows Firewall. The Firewall configuration file .exewinfw.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 for the network interface "vznet0" from the Firewall configuration file:
>firewall.exe --set -interface "vznet0"
Commands
Command |
Parameter |
Description |
Example |
|
|
Enables Firewall. |
>firewall.exe --enable |
|
|
Disables Firewall. |
>firewall.exe --disable |
|
|
Enables default firewall rules for the specified network interface from the Firewall configuration file. Requires |
See Example above. |
|
|
Displays help on the use of the utility. |
>firewall.exe --help |
Options
Option |
Parameter |
Description |
Example |
|
|
Specifies network interface. Required with |
See Example above. |