Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Specified destination port in a firewall rule is ignored and set to any instead
« previous
next »
Print
Pages: [
1
]
Author
Topic: Specified destination port in a firewall rule is ignored and set to any instead (Read 2614 times)
Sevan
Newbie
Posts: 2
Karma: 0
Specified destination port in a firewall rule is ignored and set to any instead
«
on:
June 04, 2019, 03:05:56 pm »
When creating a firewall where a destination port is specified it appears that upon saving the port is ignored and the default value of any is used instead.
My steps are
Add a new rule
Specify TCP or UDP (haven't tried other protocols)
Set a destination to port (either from the existing entries in the drop down or specify a custom port)
Provide a description
Save
Generated rule is a wildcard rules with the destination set to any.
To rule out my browser, I've tested Safari, Chrome and Firefox. Same results on all three browsers.
I've reproduced the issue on a stock 19.1.4 install and a fully up to date 19.1.8 install.
A screen recording from a fresh vm showing the issue
Image for those who don't want to play a movie:
Logged
Northguy
Full Member
Posts: 118
Karma: 11
Re: Specified destination port in a firewall rule is ignored and set to any instead
«
Reply #1 on:
June 04, 2019, 04:46:31 pm »
If you specify a port
range
from ANY to SPECIFIC, the range is still ANY.
You should specify range from: SPECIFIC to SPECIFIC.
See attached screenshot.
Logged
Sevan
Newbie
Posts: 2
Karma: 0
Re: Specified destination port in a firewall rule is ignored and set to any instead
«
Reply #2 on:
June 04, 2019, 05:14:28 pm »
Wow, totally skipped the destination is section is for specifying ranges.
I'd assumed it was for specifying a port & using notation to imply ranges (and ignored the left hand field).
Thanks for highlighting my mistake, much appreciated
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
Specified destination port in a firewall rule is ignored and set to any instead