Disable / Enable web Access from Console

Started by reply2MK, January 04, 2022, 12:07:42 PM

Previous topic - Next topic
Hi,

I am new to the OPNsense form. I want to configure my firewall and completely close / disable the web access through LAN and WAN both using the console. If I want to make changes I should be able to enable this through the console.

Please advise how can I do this.

Thanks in advance.
MK

Hi,

Well, it's

# pluginctl -s webgui stop
# pluginctl -s webgui restart

but the GUI might restart on other events such as a new DHCP address. There's no way to prevent this easily.


Cheers,
Franco

Hi,

Thanks for the update, will test and revert.

Thanks
MK