Recent posts

#1
For others running into this:

1. What OPNsense calls "abuse_ch.token", abuse.ch calls "auth key".
2. You can register here to get a token/auth key: https://auth.abuse.ch/
3. In OPNsense, enter the token/auth key and then click "Save" before clicking "Download & Update Rules". Pasting and downloading without saving won't work.
#2
High availability / Re: HA (CARP/pfSync) with Sing...
Last post by shaam - Today at 09:26:09 PM
I have an update in case anyone else has the same issue or runs into one in the future. I was able to make it work with a single public IP. I added a Negear router between the modem and the firewalls. I assigned 172.16.1.2 to FW1, 172.16.1.3 to FW2, and 172.16.1.4 to CARP, and it worked.

I also noticed a couple more issues since I created VLANs manually on the second FW and didn't pay attention to interface identifiers; when it synced, it replaced IPs or interfaces on the second firewall according to the identifier on FW1. For example, in HA on the second firewall, it replaced the pfSync interface with Home and also changed the CARP interfaces. I deleted the interfaces and recreated them to match the identifier on FW1. I also created a NAT for WAN and pfSync; I don't know if it was needed, but I was trying different things, and it finally worked.

Now I am going to buy a modem/router combo so I won't need two separate devices (modem and router), and I will convert the router back to an AP for my IoT devices, since I was using it that way.

Thanks!
#3
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Patrick M. Hausen - Today at 08:30:56 PM
Quote from: Cenkron on <strong>Today</strong> at 08:15:29 PMThe one thing I did not do is make a separate management physical interface, because I don't want that.

And you don't need to. All layer 2 ports members of bridge, layer 3 (LAN) assigned to bridge, IP address on that, firewall disabled, done. Seriously. There is no fundamental issue with a configuration like this in FreeBSD, so something is different in your particular case that nobody has yet thought of.
#4
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - Today at 08:15:29 PM
I used that very article.
The one thing I did not do is make a separate management physical interface, because I don't want that.
I believe that even so, a bridge should act like a bridge, and this does not.
I am effectively using the LAN interface, as-is, as the management interface.  That should work.
Perhaps I will try doing it that way, but then I would just have to add another cable to the network switch.
#5
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Monviech (Cedrik) - Today at 08:07:00 PM
You could use this tutorial:

https://docs.opnsense.org/manual/how-tos/transparent_bridge.html

This is the kind of configuration I would advice to use, I configured it for a few customers already who run this for IPS.

Don't try to be too smart, just do it by the book.
#6
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Patrick M. Hausen - Today at 08:04:44 PM
Quote from: Cenkron on <strong>Today</strong> at 07:51:06 PMIt is my belief that aside from management issues, all traffic presented to the bridge should pass through the bridge in the same sense as a layer 2 switch.

Exactly. So something is off. Time to bring out the big guns: tcpdump ... packet trace what is actually happening on the wire.
#7
General Discussion / Discussion: Sanity checking ex...
Last post by pfry - Today at 08:00:40 PM
I've been considering ways to sanity check externally-sourced aliases - URL address lists in particular. There have been a few times when RBLs/DNSBLs have failed or been shut down in a less-than-friendly fashion; I see that as a risk for any external data source. Trust should be limited.

The problem, of course, is how to sanity check an address list. A few simpler options:
  • Communication failure
  • Entropy (changes since last load)
  • Block size (mask)
  • Reserved blocks (against another alias)
Actions could be block (entire update), filter (individual element, if appropriate), and/or alert. Alert options could be (e.g.) e-mail and/or SNMP trap. Blocked or filtered updates could be released by an admin.

Provide a diff; the diff would be between the current alias and the latest update, as I don't see how retaining intermediates would be useful (enough to bother). A count could be included in an e-mail alert; optionally, the diff itself, perhaps with a size limit (so you don't get your geoip db e-mailed to you).

So: opinion? (Bad idea? Good idea? Got a better idea?)
#8
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - Today at 07:51:06 PM
I deleted the WAN port, and disabled the firewall.
All four physical interfaces plus the LAN interface are on the bridge.

It is my belief that aside from management issues, all traffic presented to the bridge should pass through the bridge in the same sense as a layer 2 switch.
#9
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Patrick M. Hausen - Today at 07:45:50 PM
And both points i mentioned are "check"?
#10
26.7, 26.10 Series / Re: Pure non-filering bridge
Last post by Cenkron - Today at 07:31:44 PM
That expression simply means the traffic must pass though the bridge to get from A to B.