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

How to use pfsensible.core.pfsense_rule gateway option #144

Open
sez76 opened this issue Oct 23, 2024 · 0 comments
Open

How to use pfsensible.core.pfsense_rule gateway option #144

sez76 opened this issue Oct 23, 2024 · 0 comments

Comments

@sez76
Copy link

sez76 commented Oct 23, 2024

Is your feature request related to a problem? Please describe.
I I have try to use the gateway option with pfsense_rule but I have error message :
"fatal: [pfsense]: FAILED! => {"changed": false, "msg": "Gateway \"WANGW\" does not exist or does not match target rule ip protocol."}" I don't enderstant because my gateway exist.

My tast :

- name: internet access rules
  pfsensible.core.pfsense_rule:
    name: internet access
    action: pass
    interface: LAN1
    ipprotocol: inet
    protocol: tcp
    source: NET:LAN1
    # source_port: any
    destination: any
    # destination_port: any
    gateway: WANGW
    before: bottom
    state: present

Capture d’écran 2024-10-23 161345

any idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant