Recent posts

#1
High availability / Re: CARP vs. VHID
Last post by Noci - Today at 12:23:49 PM
Thanks...,

I mistook the IP Alias as another CARP... to be added to the interface.
That seems to work.

Thanks.
#2
General Discussion / Need help with invert private ...
Last post by talespin - Today at 11:56:52 AM
Hi Everyone,

I have top two rules.
Quick is enabled.

Interface WAN
WAN IN block
port any
source any
protocol any
destination any.

Interface VLAN
VLAN IN pass
source-VLAN
destination-not private range(alias 192.168.0.0/16)
port any
protocol any

I have other rules, but are after these two.

I have private ip on isp router which is connected to opnsense wan port. But is a different range from my LAN.

With destination as any, internet works.
I want to avoid using any for destination if possible, as vlan by default will block inter vlan access.

Any suggestion where to look, what is blocking internet access.
#3
High availability / Re: CARP vs. VHID
Last post by BoNetTech - Today at 11:08:53 AM
Hi Noci,

thanks for the screenshot. That message looks like what you get when the new entry has Mode = CARP: a CARP VIP needs a unique VHID on its interface, which matches the docs' warning about separate VHIDs.

The docs' way for extra addresses is Mode = "IP Alias" instead (firewall_vip.html, "Combining CARP virtual IP types with IP aliases"): keep the one CARP VIP with VHID 254, add the other addresses as IP Alias entries and enter VHID 254 in the VHID field of the alias.

I can't see the Mode field in your screenshot, so I'm not sure that's what happened, and I haven't tested it. If the IP Alias form doesn't offer a VHID field, could you post a screenshot of that form (with the Mode visible)?

Sergio
#4
26.7, 26.10 Series / Re: No DNS query entries showi...
Last post by lmoore - Today at 10:58:30 AM
Quote from: DEC740airp414user on <strong>Today</strong> at 10:13:40 AMI can't find the thread but it was maybe a month ago. But it was the limitation of the cpu that was the issue.  What cpu is used for this Opnsense box

Is this the thread you're thinking of - https://forum.opnsense.org/index.php?topic=52109.msg276491#msg276491
#5
Quote from: trixter on <strong>Today</strong> at 09:53:19 AMNano ist schon ein Weg in die richtige Richtung, aber strg-c/strg-v funktioniert da eben nicht.

Erstens bringt FreeBSD auch noch "ee", den Easy Editor mit. Zweitens funktioniert gerade an einem Mac in einer SSH-Sitzung Cmd-C und CMD-V ganz prima. Weshalb man bei der Einführung der Windows-Taste mit Windows 95 das nicht umbelegt hat, verstehe ich bis heute nicht. Also eine von Ctrl unabhängige Taste für alle Kommandos zu verwenden.
#6
High availability / Re: CARP vs. VHID
Last post by Noci - Today at 10:47:12 AM
On interface WAN:

Select a VHID used by another VIP:   254

QuoteVHID 254 is already in use on the interface wan
Pick a unique number on this interface.

So clearly there is a difference between documenten behaviour and effective behaviour.
See attached image.
#7
High availability / Re: CARP vs. VHID
Last post by BoNetTech - Today at 10:35:09 AM
Hi Noci,

I'm not an OPNsense developer and I haven't tested this, but the docs seem to cover most of your questions.

The warning you quoted is about several CARP VIPs with *separate* VHIDs on the same interface. The documented way to put more addresses on one interface is different (docs.opnsense.org/manual/firewall_vip.html, section "Combining CARP virtual IP types with IP aliases"): create one CARP VIP with a VHID, then add the extra addresses as IP Alias entries and put the same VHID number in their VHID field. Only that one VHID sends advertisements, so you don't need 3 multicast streams on WAN. The how-to (docs.opnsense.org/manual/how-tos/carp.html, "Adding multiple CARP IPs") says the same.

Two notes from the how-to: IP aliases are not synchronised by the config sync, so you need to add them on the backup as well, and adding an alias with a VHID to an already active CARP setup can cause split-brain, so it describes doing it with CARP disabled on one node.

About "the VHID is flagged": I don't see anything in the docs about that. Could you post the exact message and where it appears (the GUI field, the log)?

About using the inter-router HA VLAN for the CARP traffic: I couldn't find anything in the docs saying this is possible. CARP is configured per interface and each interface has to receive CARP packets. The "Peer" field only changes the destination address (multicast or unicast), not the interface.

Sergio
#8
I can't find the thread but it was maybe a month ago. But it was the limitation of the cpu that was the issue.  What cpu is used for this Opnsense box
#9
German - Deutsch / Re: Änderung bei Config wieder...
Last post by trixter - Today at 09:53:19 AM
Für die Klicky-Bunty-Truppe gibt es ja auch Möglichkeiten:

ZFS-Snapshots

oder die Config History

Da geht man einfach zurück und gut ists.

Nano ist schon ein Weg in die richtige Richtung, aber strg-c/strg-v funktioniert da eben nicht.
Das muss bei denen die Apple für IT halten schon mitbringen.
#10
26.7, 26.10 Series / Re: 26.7.10p1 (no reboot) — we...
Last post by franco - Today at 09:49:47 AM
> configctl: unable to connect to configd socket (@/var/run/configd.socket)

This would be a problem which would be fixed by "service configd restart".

None of your other collected info tells us if that was actually the issue or if there's something else going on.

Check dmesg at least -- perhaps there's an OOM kill or something similarly fatal going on.


Cheers,
Franco