From owner-freebsd-questions Wed Sep 30 04:31:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA17012 for freebsd-questions-outgoing; Wed, 30 Sep 1998 04:31:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from relay.eunet.es (goya.eunet.es [193.127.1.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA16996 for ; Wed, 30 Sep 1998 04:31:42 -0700 (PDT) (envelope-from jms@caja-granada.es) Received: (from uucp@localhost) by relay.eunet.es (8.8.8/8.8.8) id NAA01975 for freebsd-questions@FreeBSD.ORG; Wed, 30 Sep 1998 13:27:02 +0200 (MET DST) Received: from pc-sistemas-4 (jms [130.130.105.3]) by mulhacen.caja-granada.es (8.6.12/4.4) with SMTP id MAA16325 for ; Wed, 30 Sep 1998 12:36:23 +0200 Message-ID: <006801bdec5e$91c21aa0$03698282@pc-sistemas-4.caja-granada.es> From: "=?iso-8859-1?B?Sm9z6SBNYW51ZWwgTWVn7WFzIFPhbmNoZXo=?=" To: Subject: Redirect web traffic using ipfw Date: Wed, 30 Sep 1998 12:39:15 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to use squid with apache web server. To configure squid it's needing to redirect web traffic, in the squid FAQ come an example with ipnat: # Redirect direct web traffic to local web server. rdr de0 1.2.3.4/32 port 80 -> 127.0.0.1 port 80 tcp # Redirect everything else to squid on port 8080 rdr de0 0.0.0.0/0 port 80 -> 127.0.0.1 port 8080 tcp Is it possible to use with ipfw and divert and what is it the command? Thank you in advance. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message