Recent posts

#1
Me chamo Gabriel Ferreira, sou de Aracaju - Sergipe.
Trabalho com o OPNSense profissionalmente desde 2025, já implantei em várias empresas aqui na Cidade.
Gostaria de ajudar ainda mais, no fortalecimento da comunidade.
#2
Hardware and Performance / Re: SFP+ to RJ45 slow WAN spe...
Last post by nero355 - Today at 12:48:58 AM
Quote from: pfry on January 26, 2026, 10:16:11 PMmodule temperature: 27.90 C voltage: 3.35 Volts
That doesn't seem to be that bad : Those things can go to 50/60 degrees Celsius easily!

Some other things you should know :
- It wouldn't be the first time a Ubiquiti UniFi Switch has issues with buffering 10 Gbps traffic...
- They also do not like Shielded CAT5e/CAT6a cables !!
- SFP+ to RJ45 modules like to have 2 slots next to them free to avoid overheating !!

Good luck! :)
#3
General Discussion / Re: GeoIP not working
Last post by buckey96 - Today at 12:42:49 AM
Quote from: Patrick M. Hausen on Today at 12:36:09 AMCan you connect to ipinfo.io via HTTPS?

Yes. And I can download all the different zip files from the links with zero problems. I'm absolutely stymied on how to get this to work.
I've also tried changing GEOIP to host and then going through everything
I've changed IPV4 & IPV6 to just IPV4
I've deleted the alias and tried to just put the URL in, with no luck on any of these
#4
General Discussion / Re: GeoIP not working
Last post by Patrick M. Hausen - Today at 12:36:09 AM
Can you connect to ipinfo.io via HTTPS?
#5
General Discussion / Re: GeoIP not working
Last post by buckey96 - Today at 12:33:17 AM
Quote from: Patrick M. Hausen on Today at 12:19:09 AMWhat I tried to express: remove the "_src=" parameter from the IPinfo URL to make it match mine and try again. This URL works without a hitch here. I have no idea what this "_src=" thingy is good for.
Thanks, I tried without the "src" and matched your URL and still no luck.

I even tried suggestions from this reddit post
https://www.reddit.com/r/opnsense/comments/1lr6yu5/maxmind_no_longer_provide_geolite_database/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

and got the same error
#6
Quote from: wewall on March 31, 2024, 05:31:49 PM
Quote from: teo88 on February 02, 2024, 09:35:53 AMOld Configuration:
Interface: WAN

New Configuration:
Bind Address:

I also don't understand what the design decision is behind not being able to select an interface for binding.
I would be particularly interested what are the recommended settings if I want to bind an OpenVPN instance (client) to only one specific WAN interface with dynamic IP?
In the case of a dynamic WAN IP what bind address should be entered at all?


2 years late with this but posting in case anyone else is looking for a solution. I had exactly the same problem - my notes and solution below (dodgy hack using PBR firewall rule and NAT). Trying to move everything over last minute before the legacy VPN config is deprecated....


Old 'legacy' setup had an option to select an interface for a client VPN. So you can have an OpenVPN client configured on OPNsense, force it via a specific WAN, and that traffic will stay on that WAN.

Probably a very specific situation to people using multi-WAN who want VPN client traffic to stay on the secondary WAN, so their primary WAN is dedicated to non-VPN traffic.

That's no longer straightforward with instances, however it is possible with a dodgy workaround :)


1. Configure the client as normal, verify it connects. Assign the OpenVPN interface itself (the device), configure the gateway and whatever else you would've done anyway.
2. Add a floating rule:


Firewall → Rules → Floating → Add

    Direction: out
    Interface: WAN1, WAN2 (you want this on BOTH interfaces, so it matches VPN traffic going out via either)
    Quick: checked (IMPORTANT, otherwise default rules are hit first and this wont apply)

    Action: Pass
    Proto: UDP
    Source: This Firewall
    Destination: <vpn server dest IP> IP address of the destination server (remote) address configured in the VPN client.
            You can use an alias with multiple IP if needed, if you do, use this in the NAT rule as well.
    Port: 1194
    Gateway: WAN2_Gateway (whatever this is named, mine is WAN2_DHCP)
    Description: PBR: Re-route OpenVPN to WAN2


3. Now if you go to Firewall > Log Files > Live View, filter on "dstport" 1194.
  In another tab, go to VPN > OpenVPN > Instances. Make sure the client is enabled.
  Go to VPN > OpenVPN > Connection Status, restart the client to get it to connect.
  Refresh and it's probably stuck waiting.

 Back in the Live View tab, you'll see it hit the rule, with the description, HOWEVER the IP will likely be the WAN1 IP. That will never work as it's now routing traffic over WAN2, with the WAN1 IP applied as source via NAT.

4. FIX: NAT rule
  Go to Firewall > NAT > outbound
  New rule:

    Interface: WAN1
    TCP/UDP Version: IPv4
    Source: This Firewall
    Source port: *
    Destination:
        Single host or Network
        Address: <vpn server dest IP> (same as in the Floating firewall rule)
    Destination port: 1194
    Translation / target:
        Address: WAN2 address
    Port: static-port enabled (important for OpenVPN/UDP)
    Description: PBR force OpenVPN to WAN2 (NAT) 

This rule will match the traffic when it tries to exit WAN1, apply the NAT as IP of WAN2, then the PBR rule will hit and redirect to exit via WAN2 - everything matches.

Now re-start the VPN client, check the live log again, and with any luck you should now see it using the WAN2 IP, and hitting the PBR ACL rule :)

It should connect!

If you then replace the <vpn server dest IP> with an alias, then the only thing to change if you update the VPN remote server is the alias, and all rules are sorted.


Not ideal that something so basic requires this complexity but good old policy based routing and NAT allow for this dodgy workaround! If anyone knows another way around this, would be good to know. This removes the need the configure a static WAN IP binding in the VPN client which is rubbish if yours is dynamic (as are most non-business WAN IP), and that also doesn't seem to work properly for client instances anyway.
#7
General Discussion / Re: GeoIP not working
Last post by Patrick M. Hausen - Today at 12:19:09 AM
What I tried to express: remove the "_src=" parameter from the IPinfo URL to make it match mine and try again. This URL works without a hitch here. I have no idea what this "_src=" thingy is good for.
#8
26.1 Series / Re: New rule system
Last post by tessus - Today at 12:15:56 AM
Thanks for the all the replies. I am still trying to understand how the new interface will look like. Are there annotated before/after screenshots for all the changes available? I have read the link Franco provided about the processing order when I started to use OPNsense (many yers ago), but since I do not use "Rule Automation", the overall processing order documentation was much more helpful to me back then.

While I could glean that the changes mostly pertain to the automation rules and UI, a bunch of posts suggested that the order of other rules (interface, floating, NAT) will change with 26.1.

If this is not the case and if everything will still work without changes when I do not use automation, this can be closed from my side. (Although I am still interested in the current discussion about automation as well.)

However, if there's anything in the UI and/or processing order that will change for anything but automation, I would like to repeat my question: how exactly does it change and what is the difference to the current UI and/or processing order?
#9
26.1 Series / Re: MiniUPNPD
Last post by nero355 - Today at 12:08:12 AM
Quote from: fotring on January 26, 2026, 06:45:42 PMHad it working in 25.7 for a couple of playstations
Why not just give them 1:1 Port Mapping and leave it at Moderate NAT level instead of fully Open NAT ?!
#10
General Discussion / Re: GeoIP not working
Last post by buckey96 - January 26, 2026, 11:59:50 PM
Quote from: Patrick M. Hausen on January 26, 2026, 11:47:14 PM@buckey96 my link looks like this:

https://ipinfo.io/data/ipinfo_lite.csv.gz?token=MYTOKEN

These are my two links.  I've changed the token to x's, but you guys will get theidea

https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=xxxxxx_xxxxxxxxxxxxxxxx_mmk&suffix=zip

https://ipinfo.io/data/ipinfo_lite.csv.gz?_src=frontend&token=xxxxxxxxxxxxxxcd

I even tried this (from Reddit)
1. Change your Geo Aliases to Host aliases temporarily
2. Apply Changes
3. In GeoIP Settings use the new format URL https://<accountID>:<license key>@download.maxmind.com/geoip/databases/GeoLite2-Country-CSV/download?suffix=zip
4. Apply
5. Change your Alias back from Host to GeoIP
6. Apply

Worked for some and not others