From owner-freebsd-questions Sat Jul 24 18:48:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (dynamic-73.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.73]) by hub.freebsd.org (Postfix) with ESMTP id 98B8014D07 for ; Sat, 24 Jul 1999 18:48:42 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id BAA11555; Sun, 25 Jul 1999 01:30:19 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id BAA39450; Sun, 25 Jul 1999 01:30:44 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199907250030.BAA39450@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Steve Howe Cc: freebsd-questions Subject: Re: ppp/http/squid In-reply-to: Your message of "Sat, 24 Jul 1999 13:36:18 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 25 Jul 1999 01:30:43 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The ``alias port'' command is for incoming stuff only. Use the ``alias proxy'' command for this sort of stuff. > if i want to force dialup users on a > ppp -alias gateway to use squid instead > of apache for HTTP and FTP, even if they > pull the proxy ports from their browsers. > is it just a matter of putting the following: > > alias port tcp 192.168.0.13:3128 192.168.0.13:20 > alias port tcp 192.168.0.13:3128 192.168.0.13:21 > alias port tcp 192.168.0.13:3128 192.168.0.13:80 > > in the dialup ppp labels? > > i'm not sure about the FTP stuff, but when i tcp/ip log > with ppp, HTTP requests just show port 80 was referenced, > i don't know how to verify that squid is actually being > hit with the port 80 requests ... ? > > do i assume correctly that FTP@20,21 and HTTP@80 > both have to be "allowed" in the filters, even though > i am aliasing those ports to 3128? > > thank you for FreeBSD :) -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message