OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: reply2MK on January 04, 2022, 12:07:42 PM

Title: Disable / Enable web Access from Console
Post by: reply2MK on January 04, 2022, 12:07:42 PM
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
Title: Re: Disable / Enable web Access from Console
Post by: franco on January 04, 2022, 02:18:05 PM
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
Title: Re: Disable / Enable web Access from Console
Post by: reply2MK on January 05, 2022, 07:30:40 AM
Hi,

Thanks for the update, will test and revert.

Thanks
MK