I've always had best luck using squid only for http and shooting everything
else directly through iptables.  This way you can basically use any software
you want regardless of how it handles proxy connections.  Something like
this would work for you...

<snip>
#!/bin/sh
iptables -F
iptables -t nat -F
iptables -t mangle -F
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -P OUTPUT ACCEPT
iptables -P INPUT DROP

# Masqing outgoing and allowing
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

# Allow returning connections
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

# Allow new connections as long as they are not from eth1
iptables -A INPUT -m state --state NEW -i ! eth1 -j ACCEPT

# Redirect all traffic on incoming port 80 to Squid server (port 3128).
# **Note: This line allows clients to leave out all proxy information 
# in Internet Explorer - server will handle everything.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128
</snip>

AE


-----Original Message-----
From: Rupesh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 9:13 AM
To: RedHat
Subject: Squid + Yahoo Messenger


I have installed Squid 2.4 stable 6 as a proxy, the users on LAN are
able to access the Internet through squid.

I also want to allow the users to use Yahoo Messenger, when I make
the relevant changes in the Proxy Settings of Yahoo Messenger, to use
Http Proxy, it fails to connect.

How do allow the users to use Yahoo Messenger ?

TIA

-Rupesh



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to