[H-GEN] Auto Proxy.....Final Results.
Robert Brockway
robert at blake.humbug.org.au
Fri Apr 23 00:40:18 EDT 1999
(Note reply-to: being general at humbug.org.au vs Robert Brockway <robert at blake.humbug.org.au>)
On Fri, 23 Apr 1999, Luke Grant wrote:
> echo "Starting IP Forwarding....."
> /sbin/ipfwadm -F -m -a accept -S 192.168.0.0/24
> echo "Starting Squid Proxy..."
> /usr/local/squid/bin/squid &
> echo "Linking IP Forwarding to Squid for Automatic Proxy Setup...."
> /sbin/ipfwadm -I -a accept -P tcp -S 192.168.0.0/24 -D 0/0 80 -r 3128
> echo "Link made. Automatic Proxy started."
I hate to get picky about nomenclature, but that is a transparent proxy,
which is different from automatically configuring proxies :)
For those that are interested, here is the equivalent command using
ipchains:
/sbin/ipchains -A input -p tcp -j REDIRECT 3128 -s 192.168.254.0/24 -d 0.0.0.0/0 80
This is assuming you use 192.168.254.0 locally of course :)
Cheers,
-Robert
--Robert Brockway B.Sc. Email: robert at blake.humbug.org.au
robert.brockway at uq.net.au
WWW: http://www.humbug.org.au/~robert
Founder of HUMBUG (http://www.humbug.org.au)
--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.
More information about the General
mailing list