Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - viragomann

#1
Quote from: rushstone on November 13, 2026, 04:40:29 PMMöchte man nun jedoch immer alles direkt zu https://www.example.de umgeleitet bekommen
Soll der Client https://www.example.de in seiner Adresszeile sehen, muss es umgeleitet werden. Das kann wahrscheinlich auch OPNWAF veranlassen und muss nicht zum Backend gehen.
Ich verwende das Plugin allerdings nicht und kenne die Einstellungen nicht. Ich nutze HAproxy und Caddy. Bei beiden wäre das möglich.

Wenn das nicht nötig ist, also der Client https://example.de aufruft in diese Adresse in seinem Browser stehen bleiben darf, sollte es reichen, dass du den Header zum Backend mit "www.example.de" überschreibst.

Aber Vorsicht mit einer solchen Regel. Die darf nur angewandt werden, wenn der entsprechende Host, also www.example.de oder example.de, auch aufgerufen wird. Aber eine WAF sollte ohnehin keine anderen Hosts durchlassen. Bei HAproxy gäbe es nämlich die Möglichkeit, ein "Default Backend" einzustellen, an das alles geht, was nicht durch Regeln entsprechend gefiltert wird. Der Webserver dahinter würde dann immer nur die Host-Überschreibung sehen und alles annehmen.
#2
The missing service in settings is obviously working well. But it isn't shown on the services settings page, hence I'm not able to edit it.

On the settings page a blue banner is displaced with "The configuration contains manual overwrites, these may interfere with the settings configured here."
I didn't make any changes aside form the GUI though. Possibly something went wrong during an update?

I tried to export the config.xml and searched for the named service, but nothing. I re-imported the config and rebooted the system, but the service is still shown up in monit status.
Neither I can find the service in /usr/local/etc/monitrc.

So I'm wondering, how I can get rid of the orphaned service now. Any other place, where I can look for this setting?
#3
General Discussion / Re: Two WAN trouble
November 05, 2026, 09:14:56 PM
Quote from: nwabytes on October 29, 2026, 11:08:08 PMMain ip 170.10.188.14/30 the gateway is in the DC for this one 170.10.188.13. now my server network 167.224.195.232/29.
Do you want to run the /29 inside your LAN on a different network port or add it to the WAN port?
#4
Quote from: really_lost on November 02, 2026, 08:54:20 PMThat's why I was wondering if it is as simple as installing the old rule plugin and then proceeding.
This worked for me on 26.7.8.
Installed the legacy rules plugin, exported the outbound NAT rules and imported the file on the source NAT page and deleted the old rules finally.
After this was done, I removed the plugin again.
#5
Hallo,

dann sollte es auch kein Problem aufgrund TLS geben.

Beide Hosts liefern jedenfalls auch eine Antwort. Das Caddy Log zeigt die Upstream-Server IP zu switch2: 192.168.64.8
Ist das in Ordnung?

Hast du es schon mit einem anderen Browser versucht?
#6
Hallo,

Quote from: Pete5 on October 30, 2026, 09:10:58 AMAuf meiner opnsense ist der ACME-Client und der caddy proxy eingerichtet, als lokalen DNS nutze ich unbound.
Caddy verteilt das Let's Encrypt Wildcard Zertifikat an die Dienste die in meinem Netz laufen,
d.h., du hast ein Wildcard-Zertifikate für *.mydomain.de, das der ACME-Client besorgt, und das auch in jedem Frontend in Caddy angegeben?
Und vielleicht auch in den General Settings "Auto HTTPS" deaktiviert?

Quote from: Pete5 on October 30, 2026, 09:10:58 AMBei switch1 kommt eine https Verbindung zustande bei switch2 nicht
Wie genau äußert sich das?

Die Webbrowser geben heute speziell bei SSL-Problemen aber meist keine vernünftige Fehlermeldung aus. Wenn du cURL oder OpenSSL verfügbar hast, untersuche die Serverantwort damit.

Mit cURL
curl -v https://switch2.mydomain.deDas zeigt, auf welche Domain das gelieferte Zertifikat ausgestellt ist.
Mache dasselbe mit switch1 zum Vergleich.
#7
Your rules are showing a public IP though.
#8
Quote from: buffaloxl on October 28, 2026, 05:40:03 PMThe heating company recently installed a new controller, and we have been trying to get the remote connection from their software set up (enteliWEB).  The connection runs over UDP, port 47808.  He has it configured to reach out to our public IP (static) and I have it configured in the firewall to NAT on UDP to the IP of the controller on 47808.  I have attached pictures of the rules, as well as a rule that I tried to just let anything through just to see.
So the controller uses a public IP inside your network?

Run a packet capture on the internal interface, which the controller is connected to and check if you see both, request and response, packets.
#9
26.7, 26.10 Series / Re: Cert Based WIFI Authentication
October 28, 2026, 02:14:08 PM
What you want to realize is called 802.1X wifi authentication. This requires an authenticator (= wifi access point) and an authentication server (= RADIUS or alike).

You wifi access point has the support this. The feature is also called "WAP2/3 enterprise" on APs.

As auth server you can install the FreeRADIUS plugin on OPNsense. Then you can add a certificate authority and issue the clients certificates from it and assign it in FreeRADIUS for the client verification.
#10
German - Deutsch / Re: Frage zu Interfaces: Assignments
October 27, 2026, 03:11:59 PM
Quote from: trixter on October 27, 2026, 10:53:55 AMHabe aktuell eine Sense die fleißig in Nutzung ist, nebst OpenVpn, aber ich sehe keine unassigned Interfaces
Du meinst, als Device unter "Assign a new interface"?
Da tauchen die Instanzen bei mir ebenfalls auf und ich kann sie zuweisen.

Quote from: trixter on October 27, 2026, 10:53:55 AMSymptom: " AEAD Decrypt error: bad packet ID (may be a replay)" Also UDP-Pakete die in der falschen Reihenfolge eintrudeln
Soweit ich mich mit diesem Problem beschäftigt habe, dürfte es auf ein Netzwerkproblem auf der Clientseite hindeuten. Verursacht bspw. durch eine lahmes oder überlastetes WLAN.
Habe aber auch gelesen, dass ein MSS-Clamping Abhilfe schaffen könnte. Heißt also, dass es durch zu große Pakete verursacht werden kann.
Möglicherweise helfen die OpenVPN Optionen "TUN device MTU" (bspw. 1400 od. noch kleiner testen), "MSS fix" oder "Fragment size".

Allerdings hatte sich mein "Problem-Client" nach dem ersten Vorschlag nicht mehr gemeldet, so kann ich das nicht bestätigen.
#11
Hallo.

Quote from: Hellgirl on October 25, 2026, 01:11:23 PMSobald das Update fehlerfrei durchlief, ist die Firewall nicht mal mehr per Ping aus einem meiner VLANS erreichbar.
Hast du auch eine Neuinstallation und eine anschließende Wiederherstellung der Konfiguration versucht?

Quote from: Hellgirl on October 25, 2026, 01:11:23 PMAuf der Konsole kann ich ebenso Teilnehmer von der OPNsense anpingen, auch aus anderen VLANs. Netzwerkverbindung steht also. Nicht mehr erreichbar ist offensichtlich alles von außen IN die opnsense.

Also Verbindungen durch die OPNsense funktionieren, der Zugriff auf sie selbst aber nicht?
Da würde ich vermuten, dass dieser aus irgendeinem Grund blockiert wird. Was es ist, sollte das FW Log zeigen, vorausgesetzt, Logging ist aktiviert.

Die Firewall kannst du in der Konsole deaktivieren:
pfctl -d
Dann solltest du auf die Web GUI kommen und das Problem vielleicht ausfindig machen können.

Falls es nicht offensichtlich ist, musst du Untersuchungen anstellen. Dazu wenn nicht eh aktiv, dann das Logging aller relevanten Regeln wie auch das der Default Block Rule (Firewall: Settings: Advanced > Default block) aktivieren.
Dann kannst du die FW wieder aktivieren:
pfctl -e
und ein paar Zugriffsversuche unternehmen, die blockiert werden. Danach die FW wieder deaktivieren und in der GUI die Logs prüfen. Die Ursache sollte sich so hoffentlich zeigen.
#12
Quote from: HatalaTitla48 on October 23, 2026, 02:33:21 AMcreated in opnsense direct route(192.168.12.0/24 192.168.12.1 - far gateway)
"route add -net 10.88.1.0 netmask 255.255.255.0 gw 10.88.1.254 eth5"
These routes don't make any sense to me as the gateway is inside to subnet you try to route.
If the gateway IP is inside a subnet, a route for this one is useless at all.
So your network is pretty unclear to me.

Quote from: HatalaTitla48 on October 23, 2026, 02:33:21 AMBut ping from notebook to 192.168.12.1 is without response.
Ive been looking for a cause and found out about asymetric routing
Pings or even the whole ICMP protocol doesn't care about asymmetric routing. This rather affects TCP.
There might be another issue causing the ping faults. Use packet capture to investigate.
#13
This assumes, that you administer both sites of the IPSec and that it's in tunnel mode. If so, there is no need for manual SPDs.

On both nodes add an IPSec child for 192.168.202.0/27 <> 172.25.26.0/24.
Ensure that both adds the respective sPDs properly.

In the OpenVPN server settings add 172.25.26.0/24 to the "Local Networks" to push to route to the clients.
#14
Quote from: Bob.Dig on October 22, 2026, 06:26:22 PMI wonder, if I could also do some more rules on such a group like block RFC1918, allow internet and do those as non-quick.
Of course you can add all rule, which should be applied to the all group members.

But I have just block rules for other DNS, DoT and NTP servers and a pass rule for ICMP on the group.
And even as mention port forwarding for DNS and NTP.
#15
I've added all my interfaces to an interface group, called it "Internal", where I've defined common rules for DNS, NTP and alike.

And yes I've forwarded DNS and NTP requests to the loopback address. This means, you can also use the interface group in port forwarding rules.