Skip to contentSkip to conversation

Masquerading on 2 ppp's

DISCUSSION Ulrich Walcher 1 participant 1 message May 21, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 0d2301c20019$e8d1ef50$6801a8c0@dirkgently

#1 lore raw

Although I didn't take a closer look at it, I guess that

http://www.samag.com/documents/s=1824/sam0201h/0201h.htm

(posted on the list a few days ago) is interesting for you...

Cheers, Uli

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]Im Auftrag von Adam Mitz
Gesendet: Montag, 20. Mai 2002 18:18
An: [email protected]
Betreff: Masquerading on 2 ppp's

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