Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2001 14:25:35 -0500
From:      Jim couch <jcouch@netdoor.com>
To:        tyler spivey <tspivey8@home.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: how i fixed natd
Message-ID:  <01062314253500.09815@katana.amberskogg.dns2go.com>
In-Reply-To: <200106231404.f5NE4IP00472@home.com>
References:  <200106231404.f5NE4IP00472@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
here's all the script you need for rc.firewall.
comes straight from the handbook (and works)
-----------------------------------------------
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via pcn0 #besure to use YOUR   
/sbin/ipfw add pass all from any to any                 #interface to the     
                                                        #world
-------------------------------------------
and no packets are lost

On Saturday 23 June 2001 09:04 am, tyler spivey wrote:
> i didn't need the whole firewall script so i constructed a script with my
> options - didnt bother with the stock firewall script. just 2-3 ipfw lines
> - natd works but is losing a few packets.
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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