nice to see a compelte example, a few things i'd question there though... firstly you are better off use the MASQUERADE target rather than the SNAT target where you have, as that will automatically use the ip on the relevant interface. and secondly, so you really need multiple nic's for multiple internet connections? doesn't seem scalable to me... nice to see a form of solution in action though, that's for sure.
|