Skip to contentSkip to conversation

Masquerading on 2 ppp's

DISCUSSION Adam Mitz 1 participant 1 message May 17, 2002

lore
Share & tools
lore

Adam Mitz

author
#0 lore raw

I haven't seen this addressed in any FAQ or HOWTO on netfilter.samba.org so I hope this is an appropriate place.
I'd like to do Masquerading on to 2 different ppp interfaces. So when a packet reaches the gateway from the internal LAN (the first packet of its connection) the gateway should choose the least-used ppp (or pick one at random, whatever) and do NAT masquerading for the duration of that connection, sending all packets to the same ppp with the same source ip/port modification. Think of it as running 2 standard masquerading set-ups in parallel, transparent to the client LAN. The 2 ppp connections are standard ISP dialups, dynamically assigned IPs. Has anyone done this? Is it possible? Stupid?

Thanks,
Adam