Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 15:41:59 -0600
From:      Peter Warrick <peter@guest-tek.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        Nick Rogness <nick@rogness.net>, freebsd-net@FreeBSD.ORG
Subject:   Re: IPFW and NATD
Message-ID:  <200107102138.PAA21656@mail.guest-tek.com>
In-Reply-To: <Pine.BSF.4.21.0107101613000.54942-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmm.. I'm not sure which ones you want me to swap? I think the tabs are 
getting messed up.. It looks like I should swap natd and from but that 
can't be right?

Ahh there we go.. Swap the any and the 139 address.. That worked.. 
Thanks a lot you two! :)

Pete

On Tuesday, July 10, 2001, at 05:14 PM, Julian Elischer wrote:

>
>
> On Tue, 10 Jul 2001, Nick Rogness wrote:
>> 	You need to add another rule:
>>
>> 	ipfw add divert natd all from $PUBLIC_IP to any in via en0
>                                           ^          ^
>                                           \----------/
>                                        swap these
>
>
>>
>> 	The $PUBLIC_IP should be the IP of en0.  This will only work if
>> 	your non-diverted traffic is using a different public IPs...which
>> 	I'm assuming you are.
>
> OR you don NOT want other machines to be able to get out.
>
>>
>

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




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