Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 07:45:44 -0500
From:      Rick Knebel <rknebel@uplink.net>
To:        Nick Rogness <nick@rogness.net>
Cc:        questions@freebsd.org
Subject:   Re: natd
Message-ID:  <p05001900b6d5182ec257@[192.168.1.2]>
In-Reply-To: <Pine.BSF.4.21.0103132041380.20395-100000@cody.jharris.com>
References:  <Pine.BSF.4.21.0103132041380.20395-100000@cody.jharris.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>On Tue, 13 Mar 2001, Rick Knebel wrote:
>
>>  Hi,
>>
>>  Right now I am using user ppp with the nat flag to allow my other
>>  machines to get out on the internet through my bsd box.
>>
>>  I want to start using kernel ppp and natd to do the same thing.
>>
>>  I read through everything about it in the freebsd hanbook and the
>>  Complete FreeBsd book.
>>
>>  I have all the appropriate things turned on in the rc.conf files and
>>  my /etc.rc.firewall looks like this.
>>
>>
>>
>>  sbin/ipfw -f flush
>>  /sbin/ipfw add divert natd all from any to any via ppp0
>>  /sbin/ipfw add pass all from any to any
>>
>>
>>
>>  I know this is not a firewall  but right now I want to let everything
>>  through just to get it working.
>>
>>
>>  The problem is that it is not working.
>>  I do get this error line though
>>
>>  ip_fw_ctl: invalid command.
>
>	Did you build the kernel with 'options	IPDIVERT' ?
>
>
>Nick Rogness <nick@rogness.net>
>- Keep on routing in a Free World... 
>   "FreeBSD: The Power to Serve!"

Thanks for your reply.
I am just using the stock kernel that came with 4.2. Do i have to 
rebuild it to use natd?


Thanks
Rick
-- 
Rick Knebel
rknebel@uplink.net
http://members.tripod.com/~Rick_Knebel/

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?p05001900b6d5182ec257>