OPNsense Forum

English Forums => General Discussion => Topic started by: talespin on December 01, 2026, 11:56:52 AM

Title: Need help with invert private range for internet access
Post by: talespin on December 01, 2026, 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.
Title: Re: Need help with invert private range for internet access
Post by: Seimus on December 01, 2026, 01:59:54 PM
Use the inverse function (check box) for destination.

That second rule allows traffic only to that specific alias, with reverse matching it will allow traffic to anything but that alias.

Regards,
S.