OPNsense Forum

English Forums => General Discussion => Topic started by: TheOneAndOnly on June 01, 2025, 05:54:06 AM

Title: OPNsense in Proxmox - Port Forward Issues
Post by: TheOneAndOnly on June 01, 2025, 05:54:06 AM
I configured OPNsense inside of Proxmox. Wasn't my first choice, as it should be outside of it. However this is my usecase.
I have a virtual IP going to the VM on the WAN, and an internal isolated Bridge on the Internal.

Everything seems to be working fairly well. However oddly enough. If I do a portforwards, it works fine. But if I create an alias for a specific subnet. The rule fails, and the Portforwards isn't working.

Trying to figure out what I am doing wrong.

On the attachment, the top rule works, the bottom does not
Title: Re: OPNsense in Proxmox - Port Forward Issues
Post by: viragomann on June 01, 2025, 10:00:39 AM
The first rule matches any traffic going to IMAP_ports. So further rules ate ignored.
You have to move the second up, so that it is probed before.
Title: Re: OPNsense in Proxmox - Port Forward Issues
Post by: TheOneAndOnly on June 01, 2025, 09:39:36 PM
Ya but in this config only one rule is enabled. As they are almost duplicate rules. The rule with ANY works when enabled, the rule with IMAP alias's does not work when it is enabled, and the other is disabled
Title: Re: OPNsense in Proxmox - Port Forward Issues
Post by: EricPerl on June 01, 2025, 10:32:19 PM
Check the alias in Firewall: Diagnostics: Aliases.
There are validation rules on their content.
Title: Re: OPNsense in Proxmox - Port Forward Issues
Post by: TheOneAndOnly on June 02, 2025, 10:26:37 AM
I see what I did, the issue was a lot simpler. I accidently put it in the Destination, when should have been in the Source