Enable/Disable Firewall policy via CLI?
I'm trying to figure out how to enable/disable a firewall policy via cli. I've figured out how to ssh to it and I've figured out the commands below. But, can't figure out how to enable/disable it. One thing I was thinking was to enable/disable a schedule on it... but that's not working.
FYI, I'm using my watchguard for home use only. I'm using it as my parental controls. I know there are other home routers that this would be way easier and have apps already that can do this. But, they're missing one huge gapping hole in the security. My kids figured out proxy servers and vpns. With the watchguard, I can block those.
configure
policy
show https-proxy "Chromebook Filter"
https-proxy "Chromebook Filter"
schedule "Chromebook Block" sun 0 0 23 45
no schedule "Chromebook Block"
These commands go through without error, but I login to the web page and nothing has changed.
Comments
In order to enable/disable a policy, you need to go into config mode, then policy mode
You can then show your list of rules, so you know what exactly to type:
(List is truncated so it's not crazy long)
Let's look at the rule itself so we know if it's enabled or not:
We see that it is. Let's disable it.
Lets verify that the rule is now disabled:
You can now exit the CLI.
If you want to enable a rule, it's the same procedure, just use "enable" instead of "no enable."
I would suggest using the WebUI or WSM, as managing policies via the CLI cranks the difficulty up.
-James Carson
WatchGuard Customer Support
Awesome. totally worked. Thanks!
Awesome. totally worked here. Thanks!