OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Need help with firewall rules
« previous next »
  • Print
Pages: [1]

Author Topic: Need help with firewall rules  (Read 2516 times)

z0rk

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
    • View Profile
Need help with firewall rules
« on: December 02, 2018, 10:52:12 pm »
I've two private subnets: LAN 192.168.1.x and LAN02 172.16.1.x. I've used the guest network how-to https://wiki.opnsense.org/manual/how-tos/guestnet.html as a template to segregate LAN02 from LAN. With the block rules in place clients on LAN02 can't access any clients on LAN, but clients on LAN can access any client on LAN02.

What I would like to accomplish now is to allow certain clients on LAN02 to access certain clients on LAN. I've implemented three rules that I thought would accomplish that, but they don't work as expected. I've attached a screenshot.

In the screenshot these three rules are currently disabled, because if I've any one of them is enabled all traffic from any client on LAN02 can access any client on LAN. I am stumped.

Could somebody help a lending hand?

Thanks

Logged
OPNsense 24.7.2

MrB

  • Newbie
  • *
  • Posts: 35
  • Karma: 3
    • View Profile
Re: Need help with firewall rules
« Reply #1 on: December 03, 2018, 12:08:13 am »
Change /24 to /32 if you want to limit the rule to a single host, the /24 part will allow the whole subnet.
Logged

z0rk

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 1
    • View Profile
Re: Need help with firewall rules
« Reply #2 on: December 03, 2018, 01:32:03 am »
LOL... major facepalm.
Thanks mate
Logged
OPNsense 24.7.2

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Need help with firewall rules
 

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