Add 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. Change-Id: Ifbfbade4baaa1901b08549e52acc725e45379a16
This commit is contained in:
parent
a2f9801034
commit
3903ca92e9
@ -15,5 +15,10 @@
|
|||||||
out_interface: "{{ item.interface }}"
|
out_interface: "{{ item.interface }}"
|
||||||
jump: SNAT
|
jump: SNAT
|
||||||
to_source: "{{ item.source_ip }}"
|
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 }}"
|
with_items: "{{ snat_rules }}"
|
||||||
become: True
|
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.
|
Loading…
Reference in New Issue
Block a user