From owner-freebsd-ipfw@FreeBSD.ORG Fri Jan 23 21:02:00 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD2F516A4CE for ; Fri, 23 Jan 2004 21:02:00 -0800 (PST) Received: from hotmail.com (bay4-f18.bay4.hotmail.com [65.54.171.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D59143D53 for ; Fri, 23 Jan 2004 21:01:58 -0800 (PST) (envelope-from konn_@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 23 Jan 2004 21:01:58 -0800 Received: from 64.86.34.6 by by4fd.bay4.hotmail.msn.com with HTTP; Sat, 24 Jan 2004 05:01:56 GMT X-Originating-IP: [64.86.34.6] X-Originating-Email: [konn_@msn.com] X-Sender: konn_@msn.com From: "Umar Draz" To: freebsd-ipfw@freebsd.org Date: Sat, 24 Jan 2004 05:01:56 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Jan 2004 05:01:58.0126 (UTC) FILETIME=[31B0E0E0:01C3E237] Subject: IPFW (Biggner) X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 05:02:00 -0000 hi i am a new user of freeBSD. I have a server of Linux 7.3 with dsl connection. Now on Linux 7.3 i have configure Squid as transparent and also Linux 7.3 running as a Gatway. i have use these command for configure transparent Proxy for my users iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 202.147.x.x now its running fine. Every Thing is fine. My Client Just add my linux 7.3's ip as a Gateway and DNS (and access internet) now i want Linux 7.3 replace with FreeBSD 4.8. so there is no iptables in freeBSD. there is ipfw plz tel me how i can configure my freebsd machine that my freebsd machine can work as a gateway and also running squid as a transparent. thanks and regards Umar Draz _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail