Topic: Routeamiento un poco avanzado :P

Buenos d

--
Software is like sex, its better when its free

Re: Routeamiento un poco avanzado :P

Hola Saddor,
necesitarias usar un SNAT o el load balancing se encargaria de hacer el tracking del paquete que sale por cada interface?

Capas algo como:
iptables -t nat -A POSTROUTING -o ethX -j SNAT --to-source IP_DE_ETHX

Saludos
Oliver

Re: Routeamiento un poco avanzado :P

Grande Oliver (y google).

Solucione mi problema!

Al final del script anterior le puse lo siguiente:

IP="`/sbin/ifconfig ppp0 | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to-source $IP
--
Software is like sex, its better when its free

Re: Routeamiento un poco avanzado :P

Aqui estan los fuentes de mi script por si alguien quiera ver...

http://cesar.la/ruteamiento-un-poco-avanzado.html

--
Software is like sex, its better when its free

Re: Routeamiento un poco avanzado :P

Perfecto, gracias por el aporte.

Alexis Medina