Merge "Add support for specifying SNAT source and destination filters"

This commit is contained in:
Zuul 2022-08-26 16:19:11 +00:00 committed by Gerrit Code Review
commit 73b9ec07b4
2 changed files with 11 additions and 0 deletions
ansible/roles/snat/tasks
releasenotes/notes

@ -15,5 +15,10 @@
out_interface: "{{ item.interface }}"
jump: SNAT
to_source: "{{ item.source_ip }}"
destination: "{{ item.destination | default(omit) }}"
destination_port: "{{ item.destination_port | default(omit) }}"
destination_ports: "{{ item.destination_ports | default(omit) }}"
source: "{{ item.source | default(omit) }}"
source_port: "{{ item.source_port | default(omit) }}"
with_items: "{{ snat_rules }}"
become: True

@ -0,0 +1,6 @@
---
features:
- |
Adds support for specifying SNAT source and destination filters. This is
useful if forwarded packets need to exit on a different interface depending
on the source or destination IP address or port.