Files

9 lines
415 B
Plaintext
Raw Permalink Normal View History

# SNAT клиентской подсети в сторону S3 (Egress Node). Отдельная таблица: чужие правила не затрагиваются.
add table ip s3gw_nat
flush table ip s3gw_nat
table ip s3gw_nat {
chain postrouting {
type nat hook postrouting priority srcnat; policy accept;
ip saddr 172.28.104.0/24 oifname "eth0" counter snat to 138.16.200.95
}
}