Recent posts

#1
German - Deutsch / Merkwürdige DHCP-Verhalten beo...
Last post by Tuxtom007 - Today at 01:52:12 PM
Hallo zusammen,

ich hab ein merkwürdiges Verhalten vom DHCP beobachtet, welches ich nicht nachvollziehen kann ( Problem hab ich gefunden aber ich verstehe es nicht ganz )

- mein MACBook hängt über eine Dockingstation am LAN-Kabel
- LAN-Kabel kommt vom Unifi-Switch
- der Switchport ist getagget auf VLAN20, alle anderen VLAN's geblockt
- DHCP macht die OPNSense mit KEA, VLAN20 ist das IP-Netz 192.168.20.x/24 zugewiesen
- Das MacBook hat DHCP-Reservation per MAC-Adresse im KEA

-> soweit alles in Ordnung und funktioniert.

Jetzt hatte ich Problem mit der Dockingstation das MacBook temp mit einem USB-C-auf-LAN Adapter angeschlossen
- Internet geht
- der MacBook bekommt aber eine IP-Adresse  192.0.0.2, mit Gateway 192.0.0.1
- 192.0 Netz nutze ich überhaupt nicht
- es ist definitiv auch kein andere DHCP-Server im Netz


Ursache von den ganzen war schlicht, das ich im VLAN20 keinen DHCP-Pool mehr eingetragen hatte, vermuttlich versehentlich gelöscht.


Was ich aber nicht verstehe, woher bekommt er dann die 192.0.0.x Adresse und nicht seine 169er, wenn DHCP nciht funktioniert.


Kann mir das jemand erklären ?
#2
German - Deutsch / OPNsense und oder Zenarmor Zei...
Last post by spooner.arthur - Today at 01:08:50 PM
Hallo Zusammen,
ich möchte gerne den Zugriff der Kinder beschränken.
Sprich, das bestimmte Geräte im Netz nur eine bestimmte Zeit pro Tag das Internet nutzen können.

Ich hab schon etwas recherchiert und komme nicht wirklich zu einer Lösung.
In Zenarmor hab ich z.B. nur einen Zeitraum gefunden, von 09 Uhr - 21 Uhr z.B.

Habt ihr eine Idee?

Gruß Arthur
#3
General Discussion / Re: Would anyone mind verifyin...
Last post by meyergru - Today at 12:34:47 PM
Alas, there is no noob-friendly guide - and for good reasons:  https://forum.opnsense.org/index.php?topic=42985.0

Practically speaking, there can be no step-by-step guide, because no two setups are alike. What's worse: If you think there is, "you are holding it wrong" (c) @Patrick M. Hausen

AI may help you work out a way that works for you, but with huge caveats, like the "no mixing of tagged and untagged on the same interface in FreeBSD" rule, which Gemini did not think of. AIs make mistakes, so you should always check. If you cannot do that for lack of own knowledge, you are in trouble with security-related topics.
#4
General Discussion / Re: Would anyone mind verifyin...
Last post by puffinburger - Today at 11:42:47 AM
Quote from: pfry on November 28, 2026, 06:35:05 PMVLAN and LAGG Setup didn't work for you?

Quote from: puffinburger on November 28, 2026, 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.


I did read the official docs and while it was helpful it's not exactly a noob friendly guide that walks you through the whole process with firewall rules, aliases etc.

I did point out the bit about tagged and untagged traffic and this is what it said: "mixing tagged and untagged VLANs breaks on bridge interfaces (where multiple physical router ports are combined in software to act like a switch), where OPNsense's packet filter (pf) fails to separate tagged and untagged frames. Because you are using a single physical NIC connected to a hardware managed switch (the TL-SG105PE)—not an OPNsense bridge—your VLAN 30 frames are cleanly separated onto vlan0.30 and filtered by your IoT firewall rules."

Please bear in mind that almost all of this is new to me and is essentially a learning exercise.


#5
26.7, 26.10 Series / Re: [CALL FOR TESTING] Defer P...
Last post by franco - Today at 11:11:39 AM
IF the DNS goes through AGH it's probably slow to initialize.  The timeouts+retries in os-ddclient may be improved, but that's not something I want to touch for existing complexity reasons (different backends, ddclient weirdness and being outdated, etc.).


Cheers,
Franco
#6
26.7, 26.10 Series / Re: [CALL FOR TESTING] Defer P...
Last post by abulafia - Today at 10:50:09 AM
Thanks Franco!

Patch applied cleanly. Disabled the "DHCP DNS override"  and rebooted.

Unfortunately ddclient still shows DNS errors:

QuoteFailed to resolve 'update.spdyn.de' ([Errno 2] Name could not be resolved at this time)")))
(Same for cloudflare)

Update after 5min runtime worked fine (as DNS was up).

#7
26.7, 26.10 Series / Re: [CALL FOR TESTING] Defer P...
Last post by franco - Today at 10:38:15 AM
Ok, can you try this patch?

# opnsense-patch https://github.com/opnsense/plugins/commit/1739d8bf54


Cheers,
Franco
#8
Portuguese - Português / Re: Site inacessível
Last post by lowalex - Today at 08:31:15 AM
Como o site funciona normalmente por outra rede, eu começaria investigando a rota do provedor e possíveis bloqueios do IP público pelo firewall do destino. Se houver um segundo link de internet ou uma VPN com outra unidade, testar a saída por esse caminho pode ajudar a identificar onde está o problema. A dica do MTU também é válida, principalmente em conexões PPPoE, então vale fazer o teste de fragmentação antes de alterar a configuração.

Quando surge alguma dúvida sobre o funcionamento da câmera ou a qualidade da imagem, uma ferramenta para webcam testar diretamente no navegador ajuda a verificar se o dispositivo está sendo reconhecido e transmitindo corretamente.
#9
General Discussion / Re: Actually fixing Unbound SE...
Last post by OPNenthu - Today at 12:46:58 AM
Quote from: ciaduck on November 28, 2026, 06:55:57 AMIf DoT has failed TLS, and NTP isn't able to perform a lookup, you can see how it would just continue to fail.

Yeah, I have a thread in the hardware section where I've run into this twice in the last two years but it was due to premature failures of the CMOS battery in my case.  For whatever reason I have to replace mine yearly.  The symptom is that NTP fails to sync if the clock is too far off from reality and then things like TLS have a meltdown.

This is actually useful because it's how I know the battery needs replacement :)  Even if there's a way to override this with NTP parameters I probably still wouldn't (context: home network, not production).

However, the issue you ran into is a good reason to keep one or two public resolver IPs in System->Settings->General and let OPNsense use those.  I understand your concern about not advertising any information about your router, however.  DNS queries can give away the game that you are running OPNsense to network observers, though there are many other ways that happens too (WAN MAC can reveal router vendor, mirror fetches for package updates, etc.)





#10
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - November 28, 2026, 11:52:58 PM
The LAN interface is statically set to 192.168.1.10