jaredhendrickson13 / pfsense-api

The missing REST and GraphQL API package for pfSense
https://pfrest.org/
Apache License 2.0
689 stars 106 forks source link

Add support for created Filter rule association when creating port forward #516

Closed lechuhuuha closed 3 months ago

lechuhuuha commented 3 months ago

Is your feature request related to existing pfSense functionality that is missing from the API? Please describe.

https://docs.netgate.com/pfsense/en/latest/nat/port-forwards.html

image

Is your feature request related to a problem? Please describe.

When i created port forward there is a option in the web ui that allow created rule association with the port forward. In the api there is also a field (associated_rule_id) like in web ui but its only have 2 option is [empty, pass]

Describe the solution you'd like The field associated_rule_id should also support options [add-associated]

Example image: image

Describe alternatives you've considered I tried to add to fork the repo and add the field myself then run github action to build the pkg. But can not setup runner in FreeBSD

FreeBSD pfSense.home.arpa 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094

Additional context None

jaredhendrickson13 commented 3 months ago

Duplicate of #275. You can refer to the contributors guide for instructions on building the package from your fork if needed.