From owner-freebsd-questions@FreeBSD.ORG Fri Feb 13 12:42:12 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 59E8C1065670 for ; Fri, 13 Feb 2009 12:42:12 +0000 (UTC) (envelope-from levymoti@gmail.com) Received: from mail-qy0-f12.google.com (mail-qy0-f12.google.com [209.85.221.12]) by mx1.freebsd.org (Postfix) with ESMTP id 0AEEE8FC0C for ; Fri, 13 Feb 2009 12:42:11 +0000 (UTC) (envelope-from levymoti@gmail.com) Received: by qyk5 with SMTP id 5so389521qyk.19 for ; Fri, 13 Feb 2009 04:42:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=g5T1FCa2V5J4I4GLck5sA5ShD1ItTQyJebNtSccNUR4=; b=XA1eHQEHxuNcR9batQFVGLHctLtMdc8OflckFwwThUXTiISmpQ0k65kymmbZIOvPC9 Dg1H0aUizd4gA3om5J0lPNz2eUicRZ4FNUWaTZkdAqdYWXhipZFvXr7HfHpR/2JQ30MG Egyq4jSII4+m9/uKr4/4ixA1dtrmxQT4ChDlM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=EPzX8zk8De33tcIIkxE1UCo801vZ5zWdoGT2e0Hi7p5AREaoiTWUGOmcRz83CT9ZT8 qj14mqWOH/bVkudSJEpTM7Qp3Ugr07f9bE10t2YGrydlKjWpTTXcQ6r+X8oPQXctUwNj ohkNJVi8Ff1Tt1SRPk7RHqfQITmyHuES0Mpdk= Received: by 10.224.19.139 with SMTP id a11mr3195767qab.17.1234527689712; Fri, 13 Feb 2009 04:21:29 -0800 (PST) Received: from ?192.168.2.109? (207-244-162-226-dhcp.mia.fl.atlanticbb.net [207.244.162.226]) by mx.google.com with ESMTPS id 5sm5175861yxt.48.2009.02.13.04.21.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Feb 2009 04:21:28 -0800 (PST) Message-ID: <499565C6.3030500@gmail.com> Date: Fri, 13 Feb 2009 07:21:26 -0500 From: Moti Levy User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 MIME-Version: 1.0 To: kashif_imran4u@yahoo.com References: <733048.41349.qm@web65403.mail.ac4.yahoo.com> In-Reply-To: <733048.41349.qm@web65403.mail.ac4.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: umar381@yahoo.com, freebsd-questions@freebsd.org Subject: Re: Iptables in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 12:42:12 -0000 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 > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/044506.html