Date: Wed, 27 Oct 1999 09:38:59 -0400 (EDT) From: Shaun <scopp@wiznet.ca> To: freebsd-questions@FreeBSD.ORG Subject: Question about NATD and proxy Message-ID: <Pine.BSF.3.96.991027093725.24665A-100000@newt.wiznet.ca>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.991027093725.24665A-100000>