From owner-freebsd-questions Tue Jul 3 1: 1:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mmu.edu.my (ext-dns.mmu.edu.my [203.106.62.11]) by hub.freebsd.org (Postfix) with ESMTP id 205C037B438 for ; Tue, 3 Jul 2001 01:01:07 -0700 (PDT) (envelope-from s9810048@mmu.edu.my) Received: from venus.cyber.mmu.edu.my (venus.cyber.mmu.edu.my [203.106.62.12]) by mmu.edu.my (8.9.1b+Sun/8.9.1) with ESMTP id PAA29923 for ; Tue, 3 Jul 2001 15:58:17 +0800 (MYT) Received: from Debug (venus [10.100.3.1]) by venus.cyber.mmu.edu.my (8.8.8+Sun/8.8.8) with SMTP id PAA03619 for ; Tue, 3 Jul 2001 15:58:11 +0800 (SGT) Message-Id: <200107030758.PAA03619@venus.cyber.mmu.edu.my> To: freebsd-questions@freebsd.org From: Sudirman Bin Hassan Subject: Ipfw+Squid+Caching Nameserver+PPP dialup on demand Date: Tue, 3 Jul 2001 15:58:11 Singapore X-Mailer: Professional Edition v3.0.11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm new to bsd but have about 2 years experience with Linux. I've currently try to shift my college firewall+gateway to use FreeBSD intead of Linux since I find that under certain situation, Linux crawl. Thus there where I come. I've succesfully enable the PPP dial on demand after reading the PPP primer book.. thanks to great doc. Everybody on LAN can connect to Internet. Now I want to set up firewall and enable transparent proxy by using Squid as well as caching nameserver. I've been following this mailing list quite a while and somebody said that i should use fwd instead of divert for trans.proxy. Can anybody give some example on the exact instruction. I want to force all connection to Internet from my LAN via squid. Squid is on port 3128. My internal NIC is ed0. where it should appear on my firewall rule.. before or after natd? What setting should I do for caching name server. Which bind is better? 8 or 9 to be use? We are using dial up connection thus it would be nice if the connection is disconnect whenever there is nobody going to the Internet. How can I do this? -dman This message was sent using MMU Webmail (Cyberjaya) - http://webmail.mmu.edu.my To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message