OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: e97 on April 23, 2026, 01:57:49 AM

Title: Port Forward / Destination NAT port range
Post by: e97 on April 23, 2026, 01:57:49 AM
Hi, I migrated from 25.x to 26.1

Port Forward has disappeared and now we have Destination NAT.

I was able to create a single port forward, but how do I do a range?

INTERFACE: WAN
SOURCE / PORT: * / *
DESTINATION / PORT: * / 12000 - 13000
REDIRECT TARGET: Do I select any or single port and put the starting port as before?
Title: Re: Port Forward / Destination NAT port range
Post by: nero355 on April 23, 2026, 03:09:24 PM
Quote from: e97 on April 23, 2026, 01:57:49 AMI was able to create a single port forward, but how do I do a range?
The same way, but it seems someone made a typo at the Destination Port field : It should show the same text as the Source Port does ?!

Source Port shows : Single Port or Range
Destination Port shows : Single Port

But in both fields you can enter for example 10000-10100 and there is no error shown or anything at Destination Port so I guess that needs to be looked at by the developers :)
Title: Re: Port Forward / Destination NAT port range
Post by: e97 on April 25, 2026, 01:25:14 AM
Quote from: nero355 on April 23, 2026, 03:09:24 PM
Quote from: e97 on April 23, 2026, 01:57:49 AMI was able to create a single port forward, but how do I do a range?
The same way, but it seems someone made a typo at the Destination Port field : It should show the same text as the Source Port does ?!

Source Port shows : Single Port or Range
Destination Port shows : Single Port

But in both fields you can enter for example 10000-10100 and there is no error shown or anything at Destination Port so I guess that needs to be looked at by the developers :)

Yes that was confusing. if the Destination Port shows : Single Port or Range and accepts the same value that would remove the confusion.
The docs could also show examples of common use cases which would make this more straightforward and reduce support questions like this.