Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter rule association when creating NAT Port forward #148

Open
hisakiyo opened this issue Jul 29, 2021 · 2 comments
Open

Filter rule association when creating NAT Port forward #148

hisakiyo opened this issue Jul 29, 2021 · 2 comments
Labels
backlog Issues backlogged for inclusion in future releases documentation Improvements or additions to documentation feature request New feature or request

Comments

@hisakiyo
Copy link

hisakiyo commented Jul 29, 2021

Hi,

Is it possible to set "Filter rule association" parameter to "new" when creating new NAT Port forward ?
https://github.com/jaredhendrickson13/pfsense-api#1-create-nat-port-forwards

Cheers

@jaredhendrickson13 jaredhendrickson13 added documentation Improvements or additions to documentation feature request New feature or request labels Jul 30, 2021
@jaredhendrickson13
Copy link
Owner

Hey!

Currently the API hard sets the associated-rule-id field to pass and does not allow other options. This is primarily due to the complexity of the dependency chain that is required when manipulating port forwards with linked firewall rules. That being said, I'll keep this open as a feature request for future enhancement. Seems this information should also be added to the documentation in a future release.

Thanks!

@jaredhendrickson13 jaredhendrickson13 added the backlog Issues backlogged for inclusion in future releases label Oct 15, 2021
@Harryols
Copy link

Harryols commented Feb 16, 2023

I have made it, how can I add the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues backlogged for inclusion in future releases documentation Improvements or additions to documentation feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants