I have tried typing the command you stated, in the specified order (except
for the "echo 1 > ..." one, since Linux warn me to type this first before
typing the forward command), in the terminal. After I restarted squid, I go
to the workstation to set the DNS server pointing to the ISP (the one that
used by Linux server to go to Internet), and the default gateway pointing to
the Linux server's IP address. I cannot ping IP such as yahoo.com (neither
by name or by IP address), but I found a big progress is that, I can ping my
ISP's IP (I cannot do this before that).
So have you got any idea about this? What did I do wrong you think?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of David Talkington
Sent: Thursday, April 05, 2001 3:35 AM
To: [EMAIL PROTECTED]
Subject: RE: Problem starting transparent proxy (squid)
Well, I fear Charles has confused you. I don't think you need to go
to all that trouble just yet, and I definitely don't recommend that
you go modifying startup scripts until we get things working.
Just run each of these at the command line, as root:
/sbin/ipchains -F
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ
/sbin/ipchains -M -S 7200 60 7200
/sbin/insmod ip_masq_ftp
echo 1 > /proc/sys/net/ipv4/ip_forward
Then make sure your workstation has this 192.168.0.81 as its gateway,
and that it uses your ISP's DNS servers. Then make sure the
workstation can a) ping an internet address by IP, b) ping an
internet address by name, and c) reach a web site with a browser.
- -d
--
David Talkington
http://www.spotnet.org
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list