From owner-freebsd-questions Wed Oct 27 6:39:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from newt.wiznet.ca (newt.wiznet.ca [216.13.71.13]) by hub.freebsd.org (Postfix) with ESMTP id B0383153EF for ; Wed, 27 Oct 1999 06:39:04 -0700 (PDT) (envelope-from scopp@wiznet.ca) Received: from newt.wiznet.ca (newt.wiznet.ca [216.13.71.13] (may be forged)) by newt.wiznet.ca (8.8.7/8.8.8) with SMTP id JAA24710 for ; Wed, 27 Oct 1999 09:38:59 -0400 (EDT) (envelope-from scopp@wiznet.ca) Date: Wed, 27 Oct 1999 09:38:59 -0400 (EDT) From: Shaun To: freebsd-questions@FreeBSD.ORG Subject: Question about NATD and proxy Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have a question about natd and its transprent proxy feature. I am trying to set up a transparent proxy to redirect all web traffic to a squid server Currently, I am running 3.3-RELEASE FreeBSD 3.3-RELEASE #1 the natd is running as /sbin/natd -config /etc/natd.conf -unregistered_only -n mx0 the config file contains: same_ports use_sockets #proxy_rule type encode_tcp_stream port 80 server 209.82.41.15:3128 #redirect_port tcp 10.1.1.13:pop3 216.13.71.15:pop3 #redirect_port tcp 10.1.1.15:pop3 216.13.71.14:pop3 redirect_address 10.0.0.2 209.82.57.217 redirect_address 192.168.5.2 209.82.57.218 redirect_address 192.168.6.2 209.82.57.219 ipfw contains: 00100 divert 8668 ip from any to any via mx0 00200 allow ip from any to any 65535 deny ip from any to any The proxy server is at 209.82.41.15. Currently, it is commented out because squid returns an error message stating that there is an error in the URL field. I am curious to know if anyone else has used this function (or if it even works). If someone can give me an alternative way of doing this I would be very pleased as it has taken me a few days at trying various possiblilites. Thank you, Shaun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message