Routing and iptables SNAT rules
Hi Guys,
I have a question regarding policy routing rules and iptables POSTROUTING NAT rules.
If I have some policy routes in place that routes based on source subnet via a default route of an additional WAN interface and also an iptables SNAT rule which changes the source address of packets originating from the same source subnet to the corresponding WAN interface address, am I right in thinking a packet originating from the source subnet will be routed via the routing rule and then processed via the iptables POSTROUTING SNAT rule?
Thanks,
|