Added support for iptables IPVS match #58329
Added support for the missing IPVS match target in the
Setting up Source NAT for, e.g. one-armed IPVS-based loadbalancers lacked support for the VIP address and VPort arguments. This PR implements these arguments and allows issueing
- name: "Setup SNAT for LVS" iptables: table: nat chain: POSTROUTING match: ipvs vaddr: '192.168.1.11/24' vport: 443 jump: SNAT to_source: '192.168.1.21' comment: "SNAT the VIP"
which is the equivalent of
Like other matches it requires a kernel module to be loaded first (