Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Lan net or Lan address?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Lan net or Lan address? (Read 3561 times)
fadern
Newbie
Posts: 32
Karma: 1
Lan net or Lan address?
«
on:
January 17, 2024, 03:07:05 pm »
Hi,
When I look into my firewall rules I see "Lan net" and "Lan address". Whats the difference between these two types and in which cases should they be used?
Logged
Intel i7-8550U - Intel I211 - RAM 16GB - NVMe 120Gb
Intel i7-5550U - Intel I211 - RAM 8GB - NVMe 50Gb
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: Lan net or Lan address?
«
Reply #1 on:
January 17, 2024, 03:24:46 pm »
LAN net is all devices in your LAN network. LAN address is the address of the firewall in that network.
So generally LAN net is used as a source and LAN address as a destination most of the time.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
fadern
Newbie
Posts: 32
Karma: 1
Re: Lan net or Lan address?
«
Reply #2 on:
January 17, 2024, 04:12:37 pm »
So if I want to block all traffic from 192.168.11.0/24 (IoT net) to 192.168.2.0/24 (Default net) I should use (see below)?
Firewall/Rules/IOT
Action: Block
Interface: IOT
Direction: IN
Source: any
Destination: Default address
Logged
Intel i7-8550U - Intel I211 - RAM 16GB - NVMe 120Gb
Intel i7-5550U - Intel I211 - RAM 8GB - NVMe 50Gb
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: Lan net or Lan address?
«
Reply #3 on:
January 17, 2024, 04:44:49 pm »
No, Default net as destination of course.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
fadern
Newbie
Posts: 32
Karma: 1
Re: Lan net or Lan address?
«
Reply #4 on:
January 19, 2024, 12:03:23 pm »
ok, thank you.
I read this and it helped me clear up my confusion.
https://docs.opnsense.org/manual/firewall_generic.html#address-types
Logged
Intel i7-8550U - Intel I211 - RAM 16GB - NVMe 120Gb
Intel i7-5550U - Intel I211 - RAM 8GB - NVMe 50Gb
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Lan net or Lan address?