From owner-freebsd-config@FreeBSD.ORG Thu Jan 22 01:02:07 2004 Return-Path: Delivered-To: freebsd-config@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD99716A4CE for ; Thu, 22 Jan 2004 01:02:07 -0800 (PST) Received: from hotmail.com (bay4-f3.bay4.hotmail.com [65.54.171.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93D2B43D2F for ; Thu, 22 Jan 2004 01:02:06 -0800 (PST) (envelope-from konn_@msn.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 22 Jan 2004 01:02:06 -0800 Received: from 64.86.34.6 by by4fd.bay4.hotmail.msn.com with HTTP; Thu, 22 Jan 2004 09:02:06 GMT X-Originating-IP: [64.86.34.6] X-Originating-Email: [konn_@msn.com] X-Sender: konn_@msn.com From: "Umar Draz" To: freebsd-config@freebsd.org Date: Thu, 22 Jan 2004 09:02:06 +0000 Message-ID: X-OriginalArrivalTime: 22 Jan 2004 09:02:06.0322 (UTC) FILETIME=[68D19D20:01C3E0C6] MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: IPFW X-BeenThere: freebsd-config@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Installation and Configuration List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 09:02:07 -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 _________________________________________________________________ The new [1]MSN 8: smart spam protection and 2 months FREE* References 1. http://g.msn.com/8HMAEN/2737??PS=