OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • How to block access to OPNSense GUI
« previous next »
  • Print
Pages: [1]

Author Topic: How to block access to OPNSense GUI  (Read 313 times)

warheat1990

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
How to block access to OPNSense GUI
« on: July 06, 2022, 08:33:03 pm »
I have following Interfaces
Home (VLAN30) - 192.168.30.0/24
Surveillance (VLAN40) - 192.168.40.0/24

OPNSense IP are 192.168.30.1, 192.168.40.1, etc

I want to block Home network from accessing OPNSense GUI

I tried creating alias like this containing all OPNSense IP addresses



But this rule ended up blocking internet access altogether, what is the best way to block certain Interfaces from accessing OPNsense IP addresses without manually adding OPNsense address one by one for each interface?
« Last Edit: July 06, 2022, 08:44:00 pm by warheat1990 »
Logged

madj42

  • Newbie
  • *
  • Posts: 47
  • Karma: 3
    • View Profile
Re: How to block access to OPNSense GUI
« Reply #1 on: July 06, 2022, 09:25:40 pm »
You're blocking all traffic on every port to those IP addresses.  You most likely want to block just 22, 80, and 443 for a destination port.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • How to block access to OPNSense GUI
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2