Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 1998 12:39:15 +0200
From:      "=?iso-8859-1?B?Sm9z6SBNYW51ZWwgTWVn7WFzIFPhbmNoZXo=?=" <jms@caja-granada.es>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Redirect web traffic using ipfw
Message-ID:  <006801bdec5e$91c21aa0$03698282@pc-sistemas-4.caja-granada.es>

next in thread | raw e-mail | index | archive | help
    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006801bdec5e$91c21aa0$03698282>