Some Problem with ICQ

Taking care of your Linux box.
Post Reply
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi

Some Problem with ICQ

Post by syedali999 »

i had setup squid properly
its working fine in transparent mode....through iptables

the problem is that...
i wana open all ports so no one will get restricted

i use :
redhat linux 9.0
squid 2.5 stable

(after ip_forward=1)

iptables -t nat -A PREROUTING -i eth0 -p tcp --dports 80:35536 -j REDIRECT --to-ports 3128

i was thinking that all ports will forward to squid and after that it will gone to destination.

problem started that first of all squid was not started coz port 3128 was also redirecting.....and a loop was created

second, i cannot connect some software transparently

just like msn, yahoo, mirc,

icq was connecting transparently but disconnecting continously
and working fine if i insert proxy...

this is my critical scenario....
i know its hard to understand
all i want to know is that
what will the complete iptable code so i can work every thing transparently...
i know its like spoon feeding request....but its urgent that is why i m requesting...

and i also try ipmasq but some confusion for it...
hope you guys will give me the code...
also please send me through email if possible...
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi


Post by LinuxFreaK »

Dear syedali999,
syedali999 wrote:iptables -t nat -A PREROUTING -i eth0 -p tcp --dports 80:35536 -j REDIRECT --to-ports 3128
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT--to-ports 3128

Best Regards.
Farrukh Ahmed
Post Reply