From owner-freebsd-isp Thu Dec 20 19:28: 4 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mailsrv.amplex.net (mailsrv.amplex.net [65.165.120.194]) by hub.freebsd.org (Postfix) with ESMTP id 60D4B37B405 for ; Thu, 20 Dec 2001 19:28:02 -0800 (PST) Received: from mark2000 (65-165-120-240.amplex.net [65.165.120.240]) (authenticated (0 bits)) by mailsrv.amplex.net (8.11.6/8.11.6) with ESMTP id fBL3T9p95048 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO) for ; Thu, 20 Dec 2001 22:29:10 -0500 (EST) From: "Mark Radabaugh - Amplex" To: Subject: RE: forwarding surfers.. Date: Thu, 20 Dec 2001 22:27:55 -0500 Message-ID: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > if a server has PHP enabled it can just check the addr of the person > connecting and do an include based on what it sees. Much easier than > fadigling routers > You assume that you normally are routing all traffic through the Apache box - we do not normally do that. A unsuspended dialup customer gets a regular IP address and is directly on the Internet. Suspended customers get a 192.168.0.0/24 IP address - we want all of that traffic directed by the router to the Apache machine so that no matter what web site they request in the browser they are sent to the 'suspended' page. If you don't redirect the traffic at the router how are you going to get the packets from a dialup customer on a terminal server to the Apache box? Once you get the packets to the Apache box you still need to get it to accept the traffic rather than bouncing it back out to the router - that's what the IPFW stuff is for. There are lot's of ways that Apache can determine the calling IP address - the problem is getting the packets to Apache in the first place. Mark Radabaugh Amplex (419) 833-3635 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message