You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
POST and PUT requests to /api/v1/firewall/nat/port_forward allows clients to specify a port range in the localport field which throws an error in the webConfigurator.
To Reproduce
Make a POST or PUT request to /api/v1/firewall/nat/port_forward and specify a localport value of 1000:2000 and reload the firewall filter. Check the webConfigurator and you'll see an error was encountered when reloading the filter.
Expected behavior
The starting port of the range is all that is expected by pfSense and the end range will be automatically calculated. API calls should mimic this behavior.
pfSense Version & Package Version:
pfSense Version: v2.6.0 (affects all versions however)
Package Version: v1.4.2
Affected Endpoints:
URL: /api/v1/firewall/nat/port_forward
The text was updated successfully, but these errors were encountered:
Describe the bug
POST and PUT requests to /api/v1/firewall/nat/port_forward allows clients to specify a port range in the
localport
field which throws an error in the webConfigurator.To Reproduce
Make a POST or PUT request to /api/v1/firewall/nat/port_forward and specify a
localport
value of1000:2000
and reload the firewall filter. Check the webConfigurator and you'll see an error was encountered when reloading the filter.Expected behavior
The starting port of the range is all that is expected by pfSense and the end range will be automatically calculated. API calls should mimic this behavior.
pfSense Version & Package Version:
Affected Endpoints:
The text was updated successfully, but these errors were encountered: