22 lines
360 B
Text
22 lines
360 B
Text
|
{{ ansible_managed | comment }}
|
||
|
|
||
|
table ip nat {
|
||
|
|
||
|
# chain prerouting {
|
||
|
# type nat hook prerouting dstnat
|
||
|
# polict accept
|
||
|
# }
|
||
|
|
||
|
# chain postrouting {
|
||
|
# type nat hook postrouting priority srcnat
|
||
|
# policy accept
|
||
|
#
|
||
|
# iif lo return
|
||
|
#
|
||
|
# meta pkttype unicast \
|
||
|
# ip saddr $nat_v4 ip daddr != $saclay_v4 \
|
||
|
# snat $snat_any_v4 persistent
|
||
|
# }
|
||
|
|
||
|
}
|