firewall
Использование
net firewall {delete-saved-rules,edit-saved-rules,get-check-flag,restart,restore-rules,save-rules,set-check-flag,show-saved-rules,start,status,stop} [-h] [--to_file]
Описание
Управление сервисом межсетевого экрана.
Аргументы
delete-saved-rules
- Remove saved rules of the firewall.edit-saved-rules
- Edit saved rules of the firewall.get-check-flag
- Get flag whether to check firewall staterestart
- Restart firewall.restore-rules
- Restoring rules of the firewall.save-rules
- Save rules of the firewall.set-check-flag
- Set flag whether to check firewall stateshow-saved-rules
- Show list of saved rules of the firewall.start
- Command starts firewall.status
- Show firewall service status.stop
- Command stops firewall.--to_file
- Redirect output to file (/tmp/cli-stdout.txt).