iptables masquerade with 2 internet nics (and ppp)

Doran L. Barton fozz at iodynamics.com
Thu Mar 20 14:59:55 MDT 2008


Not long ago, Dave Smith proclaimed...
> By way of information, I use "/usr/sbin/pppd call sprint" ("sprint" is the 
> file with my user info) to enable my ppp connection. Any ideas why I can't 
> masquerade through ppp0?
>
> Thanks in advance!

Under most situations, you only have one default route- which means you can
only have one gateway. Now, with that being said, Linux doesn't really
conform to those who say you can and can't do things you want to do. The
iproute2 stuff in the Kernel lets you do all sort of funky stuff with 
multiple upstream links, traffic shaping, packet tagging, and more. 

For more info on how it all works: http://lartc.org/howto/

-=Fozz
-- 
fozz at iodynamics.com is Doran L. "Fozz" Barton
 "The stillness of now Flows eternally within our chrysalis dream reality
  OVER HEAD"
    -- Seen on a t-shirt in Japan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20080320/833d515c/attachment.pgp


More information about the PLUG mailing list