Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.cps.udayton.edu!news.conterra.com!newsfeed.internetmci.com!newsfeed.internetmci.com!usenet.eel.ufl.edu!arclight.uoregon.edu!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: IP Masquerading in user PPP? Date: 11 Jul 1996 00:45:44 +0100 Organization: Coverform Ltd. Lines: 28 Message-ID: <4s1fb8$dj@anorak.coverform.lan> References: <Pine.BSF.3.91.960708224558.170A-100000@darkstar> NNTP-Posting-Host: localhost.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Charles Mott (cmott@srv.net) wrote: : I have recently switched from Linux to FreeBSD (the Linux partition has : even been deleted from my disk). An alpha-level feature which Linux had : was IP masquerading, where machines on a "private" ethernet (e.g. : 192.168.0.x addresses) could make connections with the outside world : via port renaming. : My question is this: is it structurally possible for IP masquerading to be : implemented within user PPP (not pppd)? If so, I would appreciate some : advice from experienced programmers on how to do this. I am looking for a : small to medium sized software project to teach myself about network : concepts. Thanks. I'm sort of responsible for this at the moment. I have mucked around with a few "designs", and I think that you're probably right, iijppp is the best place for it. I havn't examined all the pros & cons yet - I am still at the point where I'm trying to massage the outgoing packet into something readable by the other end. I think I'm screwing up the checksum - or not computing it correctly, tcpdump "sees" the traffic, but nothing gets initiated by inetd. I havn't checked to see if a tcp socket has been created. Anyway, if you're interrested in this, give me a shout via email. I have a very limited amount of time (10 month old baby), so things are anoyingly slow. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....