Recent posts

#1
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by nero355 - Today at 07:05:55 PM
Quote from: Cenkron on <strong>Today</strong> at 06:18:59 PMDon't know what code tags means.
<Your output here>You use [ code ] and [ / code ] tags for this, but without the spaces I have added :)

And something I am wondering while seeing this topic a few times now :
- Why not keep 1 Interface for WAN so OPNsense can use it for updates ?
- Why do you insist on using a whole OPNsense instance as a Managed Switch with SNMP readings basically ?!

And what does the rest of your network look like ?
#2
General Discussion / Re: Would anyone mind verifyin...
Last post by pfry - Today at 06:35:05 PM
VLAN and LAGG Setup didn't work for you?

Quote from: puffinburger on <strong>Today</strong> at 05:56:53 PM[...]
### 1. Network Layout
* **Trusted LAN (Untagged / VLAN 1):** `10.10.20.0/24` (Gateway: `10.10.20.1`)
* **IoT Network (Tagged / VLAN 30):** `10.10.30.0/24` (Gateway: `10.10.30.1`) [...]

...And AI didn't tell you not to mix tagged and untagged VLANs on an interface? It may work for you; my experience is with bridges, where it absolutely does not work (VLAN tags are not differentiated by pf, so traffic hits the filter for the untagged VLAN). See the "! Attention" sections from the page above.

Since you're working on the "lan" interface, I'd recommend using another to communicate with the firewall. Beyond that, give it a shot and see if it does what you want.
#3
26.7, 26.10 Series / Re: [CALL FOR TESTING] Defer P...
Last post by franco - Today at 06:27:46 PM
You mean ddclient?
#4
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - Today at 06:18:59 PM
Sorry for the duplication of the output from the ifconfig command.
Don't know what code tags means.
Disable Firewall is checked.

One other strange thing I have noticed is that the UI is much slower to update than the OpnSense router I use for the WAN.
The hardware and connections are comparable.
#5
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Patrick M. Hausen - Today at 06:12:29 PM
Please use code tags for commands and output.

On topic: firewall is disabled?
#6
General Discussion / Would anyone mind verifying Ge...
Last post by puffinburger - Today at 05:56:53 PM

I'm quite the noob with networking beyond setting up regular commercial home routers (ASUS, Tp-link etc) and I only recently setup my DIY Opnsense router that i've mated to a TP-Link TL-SG105PE Switch and TP-Link EAP653 Access Point. I'm not intending do anything especially advanced with it but I did want to create a separate VLAN for my IoT devices and so not really knowing where to start I turned to AI but I dont know better than to trust it point blank. I'm going to paste the instructions it gave me below and I was hoping someone might be kind enough to tell me they seem OK or if anything is wrong with them?

### Goal & Hardware Overview

* **Router / Firewall:** OPNsense 26.7 (using Dnsmasq for DHCP/DNS)
* **Managed Switch:** TP-Link TL-SG105PE (Easy Smart)
* **Access Point:** TP-Link EAP653 (standalone mode)
* **DNS Filtering:** Two local AdGuard Home instances on the main LAN (`10.10.20.180` and `10.10.20.85`)
* **IoT Clients:** Brother laser printer, Amazon Echo speaker, TP-Link Tapo smart plugs
---
### 1. Network Layout
* **Trusted LAN (Untagged / VLAN 1):** `10.10.20.0/24` (Gateway: `10.10.20.1`)
* **IoT Network (Tagged / VLAN 30):** `10.10.30.0/24` (Gateway: `10.10.30.1`)
---
### 2. OPNsense 26.7 Interface & Dnsmasq Setup
* **VLAN Device (`Interfaces → Devices → VLAN`):**
* Parent: Physical LAN NIC (`igb1`)
* VLAN Tag: `30` (`IoT`)
* **Interface Assignment (`Interfaces → Assignments`):**
* Enabled `IoT` with Static IPv4 `10.10.30.1/24`
* **Dnsmasq (`Services → Dnsmasq DNS & DHCP`):**
* **General:** Added `IoT` alongside `LAN` under Interfaces; `DHCP register firewall rules` checked.
* **DHCP Range:** `10.10.30.100` – `10.10.30.200` (`255.255.255.0`) on `IoT`.
* **DHCP Option:** Set Option `dns-server [6]` on `IoT` to `10.10.20.180,10.10.20.85`.
* **Cross-VLAN Printing:**
* Installed `os-mdns-repeater` and bridged `LAN` and `IoT` only (with a static DHCP reservation on `10.10.30.0/24` for the Brother printer).
---
### 3. OPNsense Firewall Rules (`IoT` Interface — Top-to-Bottom)
Created an `RFC1918_Networks` alias containing `10.0.0.0/8`, `172.16.0.0/12`, and `192.168.0.0/16`.
*(Auto-generated Dnsmasq DHCP UDP 67 rule sits at the top)*
| # | Action | Protocol | Source | Destination | Port | Description |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| **1** | Pass | IPv4 TCP/UDP | `IoT net` | `10.10.20.180` | `53` | Allow IoT to Primary AdGuard Home |
| **2** | Pass | IPv4 TCP/UDP | `IoT net` | `10.10.20.85` | `53` | Allow IoT to Secondary AdGuard Home |
| **3** | Pass | IPv4 UDP | `IoT net` | `This Firewall` | `123` | Allow IoT NTP time sync |
| **4** | Block | Any | `IoT net` | `RFC1918_Networks` | `any` | Block IoT from LAN, firewall GUI/SSH, and private subnets |
| **5** | Pass | IPv4 Any | `IoT net` | `any` | `any` | Allow IoT internet access |
---
### 4. TP-Link TL-SG105PE & EAP653 Configuration
* **802.1Q VLAN (`TL-SG105PE`):**
* **Port 1 (EAP653):** VLAN 1 Untagged, VLAN 30 Tagged (PVID `1`)
* **Ports 2–4 (Trusted wired devices):** VLAN 1 Untagged, VLAN 30 Not Member (PVID `1`)
* **Port 5 (OPNsense LAN uplink):** VLAN 1 Untagged, VLAN 30 Tagged (PVID `1`)
* Saved configuration to flash (`Save Config`).
* **EAP653 SSIDs:**
* `Home` (Trusted): No VLAN ID (stays on untagged VLAN 1)
* `Home-IoT` (IoT): VLAN ID `30` (2.4 GHz)

Many thanks.
#7
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - Today at 05:50:29 PM
Reply from ifconfig -a

igc0: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: Bridge_Eth0 (opt2)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c1
        media: Ethernet autoselect (10baseT/UTP <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Bridge_Eth1 (opt1)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c2
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Bridge_Eth2 (opt3)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c3
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc3: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: Bridge_Eth3 (opt4)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c4
        media: Ethernet autoselect (2500Base-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0 metric 0 mtu 1536
        options=0
        groups: enc
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pflog0: flags=0 metric 0 mtu 33152
        options=0
        groups: pflog
pfsync0: flags=0 metric 0 mtu 1500
        options=0
        maxupd: 128 defer: off version: 1500
        syncok: 1
        groups: pfsync
bridge0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: LAN (lan)
        options=10<VLAN_HWTAGGING>
        ether 58:9c:fc:10:b7:53
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        bridge flags=0<>
        member: igc3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 4 priority 128 path cost 55 vlan protocol 802.1q
        member: igc2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 3 priority 128 path cost 2000000 vlan protocol 802.1q
        member: igc0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 1 priority 128 path cost 55 vlan protocol 802.1q
        member: igc1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 2 priority 128 path cost 2000000 vlan protocol 802.1q
        groups: bridge
        nd6 options=9<PERFORMNUD,IFDISABLED>

Reply from sysctl net.link.ether.ipfw net.link.bridge.ipfw_arp net.link.bridge.ipfw

igc0: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: Bridge_Eth0 (opt2)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c1
        media: Ethernet autoselect (10baseT/UTP <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Bridge_Eth1 (opt1)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c2
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: Bridge_Eth2 (opt3)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c3
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igc3: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: Bridge_Eth3 (opt4)
        options=48420b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,HWSTATS,MEXTPG>
        ether 00:d0:b4:00:fb:c4
        media: Ethernet autoselect (2500Base-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0 metric 0 mtu 1536
        options=0
        groups: enc
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pflog0: flags=0 metric 0 mtu 33152
        options=0
        groups: pflog
pfsync0: flags=0 metric 0 mtu 1500
        options=0
        maxupd: 128 defer: off version: 1500
        syncok: 1
        groups: pfsync
bridge0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        description: LAN (lan)
        options=10<VLAN_HWTAGGING>
        ether 58:9c:fc:10:b7:53
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        bridge flags=0<>
        member: igc3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 4 priority 128 path cost 55 vlan protocol 802.1q
        member: igc2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 3 priority 128 path cost 2000000 vlan protocol 802.1q
        member: igc0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 1 priority 128 path cost 55 vlan protocol 802.1q
        member: igc1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                port 2 priority 128 path cost 2000000 vlan protocol 802.1q
        groups: bridge
        nd6 options=9<PERFORMNUD,IFDISABLED>
root@BWJ12:~ # sysctl net.link.ether.ipfw net.link.bridge.ipfw_arp net.link.bridge.ipfw
sysctl: unknown oid 'net.link.ether.ipfw'
net.link.bridge.ipfw_arp: 0
net.link.bridge.ipfw: 0
#8
26.7, 26.10 Series / Re: [CALL FOR TESTING] Defer P...
Last post by abulafia - Today at 05:28:35 PM
Quote from: franco on <strong>Today</strong> at 03:49:00 PMAGH is not in our plugins so there's not much we can do.
That's understood, but I thought maybe the startup of DDNS could be delayed / be dependent on DNS being up. But it's not a big deal.
#9
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Patrick M. Hausen - Today at 05:21:18 PM
You need to enable the SSH service in the UI, first.
#10
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - Today at 05:08:16 PM
It has been years since I used SSH.  I am generally on windows, though I do have a linux system, which is currently unusable.
I tried using the keyboard and video interface, but it is running the install script and is useless.

I tried ssh from Windows.  It times out on the connection attempt, but it seems to be installed.
I can ping the OpnSense system from Windows, so it is reachable.

Any more suggestions?