ok ive configured masq millions with ipchains and with iptables. i currently want to run masq with iptables. but theres a complication.
my two close neighbors and i all have cable modems (3 modems to be precise). now, ive gotten two of these working at once (havent tried 3 yet) connected to my linux box. i had equal cost multipath routing compiled in the kernel, and two default routes. when i did a ping from my linux box, the packets would alternate between the cable modems. the cable modem activity lights would blink back and forth (one modem then the other). so we can assume equal cost multipath routing worked.
now iptables requires an output for its masq rule(iptables -t nat -A POSTROUTING -s 192.168.0.1/24 -o eth0 -j MASQ). but i want to masquerade without setting an output interface or address (so it will use all available connections). can this be done?
my two close neighbors and i all have cable modems (3 modems to be precise). now, ive gotten two of these working at once (havent tried 3 yet) connected to my linux box. i had equal cost multipath routing compiled in the kernel, and two default routes. when i did a ping from my linux box, the packets would alternate between the cable modems. the cable modem activity lights would blink back and forth (one modem then the other). so we can assume equal cost multipath routing worked.
now iptables requires an output for its masq rule(iptables -t nat -A POSTROUTING -s 192.168.0.1/24 -o eth0 -j MASQ). but i want to masquerade without setting an output interface or address (so it will use all available connections). can this be done?