how to enable voice and video chatting through squid
how to enable voice and video chatting through squid
Asslamu Alaikum
Friends please guide me how to allow user for voice and video chatting through squid server.
Thanks & Regards.
Friends please guide me how to allow user for voice and video chatting through squid server.
Thanks & Regards.
Shahid Mahmood
0321-4538113
i am crazy to learn linux
0321-4538113
i am crazy to learn linux
figure out which ports are used by the video/voice chat software, and then create iptable nat rules to allow their traffic through.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re: how to enable voice and video chatting through squid
Dear smk08,
Salam,
Best Regards.
Salam,
I think MASQUERADING your local clients traffic to your backbone will solve issue.smk08 wrote:Friends please guide me how to allow user for voice and video chatting through squid server.
Best Regards.
Farrukh Ahmed
Re: how to enable voice and video chatting through squid
SQUID is an http proxy and has nothing to do with chat, voice or video.smk08 wrote:Asslamu Alaikum
Friends please guide me how to allow user for voice and video chatting through squid server.
Thanks & Regards.
you may use routing or nating for chat/voice/video working.
AOA,
you can use a simple rule that will allow your whole network to you VOICE/VIDEO feature
.
this single rule will work as it always does.
you can use a simple rule that will allow your whole network to you VOICE/VIDEO feature
.
Code: Select all
### Interface connected to INTERNET ###
INTERNET=eth0
/sbin/iptables -t nat -A POSTROUTING -o $INTERNET -j MASQUERADE
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
yeah, but it'll let a lot more traffic through than just voice/video.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
AOA,
Dear Mr. Lambda,
I know this single rule will allow allot of extra traffic. For particular applications you should know on which they are working and once you know their respective ports the rule is simple.
However some or many applications use UDP also so just copy the same for udp.
If there are any mistake in the the format please let me know as its been very long since i have written any script or any iptables rule.
Dear Mr. Lambda,
I know this single rule will allow allot of extra traffic. For particular applications you should know on which they are working and once you know their respective ports the rule is simple.
Code: Select all
ipt=/sbin/iptables
internet=eth0
masq-ports="1080 5010 5001"
for i in $masq-ports
do
$ipt -t nat -A POSTROUTING -o $internet -p tcp --dport $i -j MASQUERADE
done
If there are any mistake in the the format please let me know as its been very long since i have written any script or any iptables rule.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
which is what i wrote here.For particular applications you should know on which they are working and once you know their respective ports the rule is simple.
use whitespace to make your code more readable. use capitalized variables. give me all your money. don't use hyphens in variable names.If there are any mistake in the the format please let me know as its been very long since i have written any script or any iptables rule.
Code: Select all
#!/bin/sh
IPT=/sbin/iptables
INTERNET=eth0
MASQPORTS="1080 5010 5001"
for i in $MASQPORTS
do
$IPT -t nat -A POSTROUTING -o $INTERNET -p tcp --dport $i -j MASQUERADE
done
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
AOA,
Thanks allot for correcting me and letting me know some points.
Thanks allot for correcting me and letting me know some points.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com