From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 08:58:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7C5E106566C for ; Thu, 12 Feb 2009 08:58:22 +0000 (UTC) (envelope-from kashif_imran4u@yahoo.com) Received: from web65403.mail.ac4.yahoo.com (web65403.mail.ac4.yahoo.com [76.13.9.23]) by mx1.freebsd.org (Postfix) with SMTP id 668AE8FC20 for ; Thu, 12 Feb 2009 08:58:21 +0000 (UTC) (envelope-from kashif_imran4u@yahoo.com) Received: (qmail 42662 invoked by uid 60001); 12 Feb 2009 08:31:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1234427499; bh=3gi0CeXmV6OasD+gMWsuNo7OrUVOFGKYRCHBL/eJNSU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=WPck8zcT8APkuRJ+RQhDA9y7zPDBVwx2kspdnJ5aH9rhiLqv2ghm3do04R3O7XPOT9e2tViPvbYmuNHxIvQaykvYvDVnt2kgL7uCY+C1IWQ4ABY5LE6x2UbxTmZb3WhJOTQUEVmp4AiiNQ88lQnu/tRqUlR8/udHWDm1zRoo8X4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=4kq0sv9rz5U72kZoTo2ib1IJroDqGI7yFbVbOYCp8N+q7LKzs8TjgISxvgx4viNoxTwfwt0LadDJ2AUVw7M37NYBy1qhwF+ZkB/l7je+N3FVaZ0DA7iT3dh6IkguDNhdOhSxnrBbwWwW9TB1sv/GsXmxEw53lCBElGX+HwTcIRI=; Message-ID: <733048.41349.qm@web65403.mail.ac4.yahoo.com> X-YMail-OSG: nIcXBuYVM1myiTVgZ6sOAihXUySIEgyDqf8wlrJ5wVoJkVoybE9mgYeyAwkZZETGdiiReQA7tRxLCEKuALWs6GllKVgLG.AdbZfg_VoaUwcYqwK.0SWEZDk9NGzJyD9nTFPmR_52VQAVso8P2aVbecRKrA-- Received: from [221.120.210.23] by web65403.mail.ac4.yahoo.com via HTTP; Thu, 12 Feb 2009 00:31:39 PST X-Mailer: YahooMailWebService/0.7.289.1 Date: Thu, 12 Feb 2009 00:31:39 -0800 (PST) From: kashif imran To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 12 Feb 2009 12:22:31 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: umar381@yahoo.com Subject: Iptables in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kashif_imran4u@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 08:58:23 -0000 Hi all I am a new to FreeBsd, can someone translate these iptables rules for freeb= sd? =A0 /usr/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE /usr/sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTA= BLISHED -j ACCEPT /usr/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT =A0 regards Imran=0A=0A=0A