Date: Fri, 13 Feb 2009 15:51:56 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Moti Levy <levymoti@gmail.com> Cc: kashif_imran4u@yahoo.com, umar381@yahoo.com, freebsd-questions@freebsd.org Subject: Re: Iptables in FreeBSD Message-ID: <991123400902130451y22c83155se5495b2108305809@mail.gmail.com> In-Reply-To: <499565C6.3030500@gmail.com> References: <733048.41349.qm@web65403.mail.ac4.yahoo.com> <499565C6.3030500@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 13, 2009 at 3:21 PM, Moti Levy <levymoti@gmail.com> wrote:
> On 02/12/09 3:31 AM, kashif imran wrote:
>
>> Hi all
>> I am a new to FreeBsd, can someone translate these iptables rules for
>> freebsd?
>> /usr/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
>> /usr/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state
>> RELATED,ESTABLISHED -j ACCEPT
>> /usr/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
>>
>> regards
>> Imran
>
>
Hmm, depends on whether you are using IPFW, or IPF/IPNat or PF.
Which one do you use?
And BTW, what does the two rules do in Linux? If you say what they do, I can
interpret that into IPFilter/IPNat or PF language on FreeBSD.
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"The only time a woman really succeeds in changing a man is when he is a
baby."
- Natalie Wood
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?991123400902130451y22c83155se5495b2108305809>
