hi all,
a friend of mine has a net cafe. recently he deployed linux+squid on the main server. everything seems to work fine except that yahoo's voice+video chat is disabled. how can that be enabled. working solutions needed urgently. remeber that clients are windows ones. thnx in advance
regards
zaeem
yahoo voice+video chat in linux
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Zaeemarshad,
Salam,
I don't think so that Yahoo or AMSN or GAIM Allow that
Best Regards.
Salam,
I don't think so that Yahoo or AMSN or GAIM Allow that
Best Regards.
Farrukh Ahmed
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Zaeemarshad,
Salam,
Best Regards.
Salam,
I thought about Linuxzaeemarshad wrote:dont allow what? the clients are windows pcs running yahoo messenger and worked fine with video and voice chat when the gateway was using winproxy i guess. is there no solution in linux for that. very unfortuate i guess.
Best Regards.
Farrukh Ahmed
yahoo voice chat in squid has no way.
remove proxy settings from yahoo messenger.
1.set the gateway of ur router.(linux box)
(now test from clint if its pinging the ppp0 ip)
2.give all the clients a valid dns server address.
(now test at client if its resolving the address. i.e ping yahoo and see)
3.now masquerade all the yahoo ports.
iptables -t nat -A POSTROUTING -p tcp --dport 5050 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p udp --dport 5050 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 5051 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 5000 -o ppp0 -j MASQUERADE(i think thats the voice chat port)
iptables -t nat -A POSTROUTING -p udp --dport 5000 -o ppp0 -j MASQUERADE
also masquerade yahoo webcam port.
which i dont know
an alternative of step 3 is
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
but this will allow all other things.
remove proxy settings from yahoo messenger.
1.set the gateway of ur router.(linux box)
(now test from clint if its pinging the ppp0 ip)
2.give all the clients a valid dns server address.
(now test at client if its resolving the address. i.e ping yahoo and see)
3.now masquerade all the yahoo ports.
iptables -t nat -A POSTROUTING -p tcp --dport 5050 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p udp --dport 5050 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 5051 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -p tcp --dport 5000 -o ppp0 -j MASQUERADE(i think thats the voice chat port)
iptables -t nat -A POSTROUTING -p udp --dport 5000 -o ppp0 -j MASQUERADE
also masquerade yahoo webcam port.
which i dont know
an alternative of step 3 is
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
but this will allow all other things.
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
i had that masquerading solution in mind but was lazy/afraid of trying it out and sought out *professional* advice. will try it and let u ppl know. thnx ppl for taking interest. if the solution turns out to be true then its a 2 hour emergency solution record. i like that speed. keep up the good work ppl.
regards
zaeem
regards
zaeem
-
- Major General
- Posts: 917
- Joined: Thu Jun 27, 2002 5:45 pm
- Location: Karachi
- Contact:
-
- Havaldaar
- Posts: 105
- Joined: Thu Dec 25, 2003 2:31 pm
i search it long time ago found that is there is one solution there is module aviable for kerne 2.2.x H.323 for voice application . then u have to downgrade your kernel and then you have to use ipchains
but not tried my self
http://www.e-infomax.com/ipmasq/
very nice link here
http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/
but not tried my self
http://www.e-infomax.com/ipmasq/
very nice link here
http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact: