Date: Sun, 25 Jul 1999 01:30:43 +0100 From: Brian Somers <brian@Awfulhak.org> To: Steve Howe <groggy@iname.com> Cc: freebsd-questions <questions@FreeBSD.ORG> Subject: Re: ppp/http/squid Message-ID: <199907250030.BAA39450@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Sat, 24 Jul 1999 13:36:18 -0800." <Pine.BSF.3.96.990724133353.1755A-100000@froggy.anchorage.ptialaska.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org> <brian@FreeBSD.org>
<http://www.Awfulhak.org> <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk>
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?199907250030.BAA39450>
