Recent posts

#1
General Discussion / Re: Need help with invert priv...
Last post by nero355 - Today at 03:49:41 PM
Quote from: viragomann on <strong>Today</strong> at 03:39:42 PMSo if you restrict traffic on your internal interfaces, best practice is to add a floating or an interface group quick pass rule to allow DNS and also NTP access to "This firewall".

This rule fits to any interface IP then.
I would stick to Interface Firewall Rules and only use Floating Firewall Rules for very special cases to avoid exposing parts of OPNsense to the Internet that should not be exposed...
#2
General Discussion / Re: Need help with invert priv...
Last post by viragomann - Today at 03:42:57 PM
Quote from: talespin on <strong>Today</strong> at 03:36:41 PMDoes openvpn interface also need access to internal DNS for resolving addresses.
Yes.

OPNsense automatically add an allow-any rule to the OpenVPN interface group. But if you intend to restrict access you have to add a rule to permit DNS.
#3
General Discussion / Re: Need help with invert priv...
Last post by viragomann - Today at 03:39:42 PM
The client can basically use any DNS server for resolving host names.
However, the normal use case is that you run DHCP and DNS servers on OPNsense. Then if the client pulls the network settings from the DHCP, it gets also the DNS server to use. The DHCP provides the local interface IP as DNS.

So if you restrict traffic on your internal interfaces, best practice is to add a floating or an interface group quick pass rule to allow DNS and also NTP access to "This firewall". This rule fits to any interface IP then.
#4
General Discussion / Re: L2TP deprecation/removal
Last post by nero355 - Today at 03:39:20 PM
Quote from: Monviech (Cedrik) on <strong>Today</strong> at 02:09:37 PMfor example via GRE (which is old too but the quasi standard for delivering IP in IP without encryption).
A very long time ago I have read about GRE needing Port 0 to be forwarded when setting up such connections behind a NAT Router but many of those did not support such inputs and because of that GRE has always been a bit of a weird protocol in my opinion...

Am I wrong for thinking this or not ?!
#5
General Discussion / Re: Need help with invert priv...
Last post by talespin - Today at 03:36:41 PM
Quote from: viragomann on December 01, 2026, 06:08:27 PM
Quote from: talespin on December 01, 2026, 11:56:52 AMWith destination as any, internet works.
You can also consider to add a separate block rule instead of allowing any but your alias.

Quote from: talespin on December 01, 2026, 11:56:52 AMdestination-not private range(alias 192.168.0.0/16)
Note that this rule may not allow DNS access if your DNS (on OPNsnese) is part of this alias.

So investigate, what's not working in fact. Can you resolve host names? Use dig or nslookup on the client to check.
Also try if
ping 1.1.1.1works.

Thanks a lot. Finally it worked when I created allow rule to dns.

https://youtu.be/TjXkWSjYqlM?si=R05lCWLbtRuR-lv3

One question on dns. I am trying to configure vpn. Does openvpn interface also need access to internal DNS for resolving addresses.

Any link/source on network vs address in opnsense. What network refers to and what does address refers to.
#7
I'll see if we can add a migration for this:

https://github.com/opnsense/core/pull/11373
#8
German - Deutsch / Re: OPNsense und oder Zenarmor...
Last post by trixter - Today at 03:12:09 PM
wie wäre es mit Adguard?

Für zeitbasierte Einschränkungen auf lokaler Ebene gibt es folgende Optionen:

Zeitpläne für Kindersicherung: Im Dashboard können bestimmte Kategorien oder Dienste zu spezifischen Zeiten blockiert oder freigegeben werden. ⁠
Per-Device Limits: Unofficial Projekte wie adguard-time-limits ermöglichen es, pro Gerät verbleibende Minuten zu gewähren, bis die DNS-Anfragen blockiert werden. ⁠
Benutzerregeln: Diese unterstützen aktuell keine Zeitpläne; eine zeitgesteuerte Blockierung einzelner Domains ist über die Standard-Benutzeroberfläche nicht möglich. ⁠
#9
German - Deutsch / Re: OPNWAF - HTTP nach HTTPs w...
Last post by trixter - Today at 03:07:44 PM
jetzt weiß ich was Du meinst. Danke für die Erklärung.

Habe HA-Proxy bisher nur zum Lastverteilen oder zum Einschränken von URLs benutzt.

Mir hat man geraten heute Caddy zu nutzen, weil HA-Proxy "nicht mehr zeitgemäß" ist.
#10
General Discussion / Re: Please Make a Donation to ...
Last post by franco - Today at 03:05:30 PM
<3