Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 10:52:20 -0700
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        "a.s.gruner" <plankalkuel@encephalon.de>
Cc:        Darren Pilgrim <dmp@pantherdragon.org>, freebsd-ipfw@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw+natd+ppp problem
Message-ID:  <20020603105220.A38492@blossom.cjclark.org>
In-Reply-To: <20020603121853.B1685@encephalon.de>; from plankalkuel@encephalon.de on Mon, Jun 03, 2002 at 12:18:53PM %2B0200
References:  <20020602200539.A1206@encephalon.de> <3CFA84CF.E5AD5853@pantherdragon.org> <20020603071835.A894@encephalon.de> <20020602231706.K20911@blossom.cjclark.org> <20020603121853.B1685@encephalon.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 03, 2002 at 12:18:53PM +0200, a.s.gruner wrote:
> Hi.
> 
> > Well, the most obvious thing was that you didn't have a divert(4) rule
> > in your firewall. But unless there is something you want to do with
> > natd(8)-ipfw(8) that you can't do with ppp(8) '-nat,' I'd start by
> > getting ppp(8) working right. If you still want to try out natd(8),
> > wait to do it until after you have gotten ppp(8) working correctly.
> 
> It was "divert" i have just forgotten that one. Or, it was not described
> in the places i took a look. well well... (or i am blind....)

Might want to schedule a trip to the ophthalmologist. From natd(8),

     1.   You will need to adjust the /etc/rc.firewall script to taste.  If
          you are not interested in having a firewall, the following lines
          will do:

                /sbin/ipfw -f flush
                /sbin/ipfw add divert natd all from any to any via ed0
                /sbin/ipfw add pass all from any to any

          The second line depends on your interface (change `ed0' as appropri-
          ate).

-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020603105220.A38492>