I need to make this type of rule in iptables:
iptables -t nat -I PREROUTING -p tcp -s 22.214.171.124/32 --destination 126.96.36.199 --dport 123 -j DNAT --to 188.8.131.52:124
Where 184.108.40.206 is a metallb loadbalancer service and 220.127.116.11 is traffic from an interface outside of k8s with forwarded traffic. Basically I want to do special handling for traffic that originates from this interface.
It’s not clear to me how to configure this with calico? As it rewrites my manual iptables rules I’m also unable to just set it with iptables.
A bit related to SNAT port of Kubernetes outgoing traffic