OPNsense Forum

English Forums => General Discussion => Topic started by: hushcoden on December 12, 2024, 05:05:56 PM

Title: Limiting the access to the gui
Post by: hushcoden on December 12, 2024, 05:05:56 PM
I'd want to allow only two devices within the LAN to access the OPNsense gui (and ssh too), can someone explain to me how do I do that?

Tia.
Title: Re: Limiting the access to the gui
Post by: Patrick M. Hausen on December 12, 2024, 05:11:29 PM
With firewall rules?

Source: alias with your two devices
Destination: This Firewall
Destination port: alias with 22 and 443
Action: allow

Of course you need after that one either a dedicated block rule or remove the default "allow all" rule from LAN and implement rules with finer granularity for Internet access etc.

HTH,
Patrick

P.S. Also disable that global "anti-lockout" thing.
Title: Re: Limiting the access to the gui
Post by: hushcoden on December 16, 2024, 05:15:27 PM
Quote from: Patrick M. Hausen on December 12, 2024, 05:11:29 PMP.S. Also disable that global "anti-lockout" thing.
Is it the checkbox Disable anti-lockout in Firewall -> Settings -> Advanced ?
Title: Re: Limiting the access to the gui
Post by: Patrick M. Hausen on December 16, 2024, 06:34:45 PM
Yes.