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
{{ message }}
Repository navigation
firewalld module should support creation of port forwards #28349
Although I agree that the module needs updating to support this functionality explictly and/or include documentation, I thought it was worth me posting my solution to the problem in case others have the same issue:
- name: Redirect port 443 to 8443
firewalld:
rich_rule: rule family={{ item }} forward-port port=443 protocol=tcp to-port=8443
zone: public
permanent: true
immediate: true
state: enabled
with_items:
- ipv4
- ipv6
Reacted by Adam Miller, Marius B. Kotsbak, cmd and Iván Baldo
@mikehardenize thanks for sharing, I'll update the examples in the firewalld module to include this.
I would like to add the port forward directive, but it's just a matter of finding the free time. I've recently pushed in a large refactor of the module up (#37603) and once that is merged, I'll add the port forward.
Thank you very much for your interest in Ansible. Ansible has migrated much of the content into separate repositories to allow for more rapid, independent development. We are closing this issue/PR because this content has been moved to one or more collection repositories.
Activity
ansibot commentedon Aug 17, 2017
cc @maxamillion
click here for bot help
geoffreywiseman commentedon Jan 25, 2018
And if it is supported already, better documentation -- since I also am inclined to believe the firewalld module doesn't support this.
mikehardenize commentedon Apr 30, 2018
Although I agree that the module needs updating to support this functionality explictly and/or include documentation, I thought it was worth me posting my solution to the problem in case others have the same issue:
maxamillion commentedon Apr 30, 2018
@mikehardenize thanks for sharing, I'll update the examples in the firewalld module to include this.
I would like to add the port forward directive, but it's just a matter of finding the free time. I've recently pushed in a large refactor of the module up (#37603) and once that is merged, I'll add the port forward.
maxamillion commentedon Apr 30, 2018
#39534
ansibot commentedon Aug 12, 2020
Thank you very much for your interest in Ansible. Ansible has migrated much of the content into separate repositories to allow for more rapid, independent development. We are closing this issue/PR because this content has been moved to one or more collection repositories.
For further information, please see:
https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md