Paltalk Messenger Isn't Running

General discussion about PLUC and Linux in Pakistan.

Paltalk Messenger Isn't Running

Postby zAm » Wed Dec 07, 2005 5:08 am

Hello,
we'r running a internet cable network with Redhat Fedora Core 3 as a router with squid proxy server & iptables firewall ..... our clients can't access Paltalk Messenger since we setup our network. here's the configuration which we used in iptables
######################
# Pal Talk Ports
######################
/sbin/iptables -I FORWARD -i eth0 -p tcp --dport 2090:2091 -j ACCEPT
/sbin/iptables -I FORWARD -i eth0 -p udp --dport 2090:2091 -j ACCEPT
/sbin/iptables -I FORWARD -i eth0 -p tcp --dport 5001:5020 -j ACCEPT
/sbin/iptables -I FORWARD -i eth0 -p tcp --dport 8100:8700 -j ACCEPT
/sbin/iptables -I FORWARD -i eth0 -p udp --dport 8100:8700 -j ACCEPT
/sbin/iptables -I FORWARD -i eth0 -p udp --dport 1024:2500 -j ACCEPT
/sbin/iptables -I FORWARD -i eth0 -p tcp --dport 2095:2095 -j ACCEPT
-------------------------------------------------------------------------------------
for more about our configuration files of iptables & squid, here are these ..
can somebody tell me , what could be the problem ?? is there any need to edit our configuration files , then what's these changes are ... ? waiting for a kind reply ....
Regards,
zAm (Lyarianz Internet Cable Network)
Proud To Be Lyarianz !
zAm
Havaldaar
 
Posts: 148
Joined: Wed Oct 19, 2005 9:28 am
Website: http://www.zubair.moghal.ukonline.co.uk
WLM: z_moghal@hotmail.com
Yahoo Messenger: z_moghal@yahoo.com
Location: Pakistan, Karachi

Re: Paltalk Messenger Isn't Running

Postby lambda » Thu Dec 15, 2005 4:43 pm

you probably need nat rules. add the appropriate entries to POSTROUTING or PREROUTING.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

What POSTROUTING & PREROUTING rules ?

Postby zAm » Thu Dec 15, 2005 8:27 pm

Hello,
lambda , would you mind to tell me that PREROUTING/POSTROUTING rules , coz i am newbie in iptables & Linux. but sick of that problem of Paltalk Messenger which isn't solved yet .... hoping a kind reply. Thanks
Regards,
zAm (Lyarianz Internet Cable Network)
Proud To Be Lyarianz !
zAm
Havaldaar
 
Posts: 148
Joined: Wed Oct 19, 2005 9:28 am
Website: http://www.zubair.moghal.ukonline.co.uk
WLM: z_moghal@hotmail.com
Yahoo Messenger: z_moghal@yahoo.com
Location: Pakistan, Karachi

Re: What POSTROUTING & PREROUTING rules ?

Postby lambda » Tue Dec 20, 2005 7:11 pm

i don't have a setup to test something like this. you can try (assuming 192.168.1.x is your internal network, and a.b.c.d is your static external address):

Code: Select all

iptables -t nat -A POSTROUTING -m tcp -p tcp -s 192.168.1.0/24 --dport 2090:2091 -j SNAT --to a.b.c.d
iptables -t nat -A POSTROUTING -m udp -p udp -s 192.168.1.0/24 --dport 2090:2091 -j SNAT --to a.b.c.d
etc

use tcpdump to watch eth0 (it's your external interface, right?) to see where paltalk packets end up.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Paltalk Ports

Postby sarthor » Sat Jan 28, 2006 2:39 am

Salam O Alykum,
I have heared that paltalk ports has been changed?
and Paltalk is not working on my network any more :(

iptables -A FORWARD -p tcp --dport 1024:2500 -j ACCEPT #paltalk
iptables -A FORWARD -p udp --dport 1024:2500 -j ACCEPT #paltalk
iptables -A FORWARD -p tcp --dport 5001:5020 -j ACCEPT #paltalk
iptables -A FORWARD -p tcp --dport 8100:8700 -j ACCEPT #paltalk
iptables -A FORWARD -p udp --dport 8100:8700 -j ACCEPT #paltalk
iptables -t nat -A POSTROUTING -p tcp --dport 5001:5020 -o eth1 -j MASQUERADE # paltalk
iptables -t nat -A POSTROUTING -p udp --dport 5001:5020 -o eth1 -j MASQUERADE # paltalk
iptables -t nat -A POSTROUTING -p tcp --dport 8100:8700 -o eth1 -j MASQUERADE # paltalk
iptables -t nat -A POSTROUTING -p udp --dport 8100:8700 -o eth1 -j MASQUERADE # paltalk
iptables -t nat -A POSTROUTING -p tcp --dport 1272 -o eth1 -j MASQUERADE # paltalk
iptables -t nat -A POSTROUTING -p tcp --dport 2090:2091 -o eth1 -j MASQUERADE # paltalk
iptables -t nat -A POSTROUTING -p udp --dport 2090:2091 -o eth1 -j MASQUERADE # paltalk


its the script of my firewall for Paltalk.
Now??
Alwida.
Tefl E Maktab
-----------------------------
----- ----- ----- ------ ------ -------
sarthor
Battalion Quarter Master Havaldaar
 
Posts: 241
Joined: Wed Dec 24, 2003 2:36 am
ICQ: 163419827
Website: http://amazai.net
WLM: sarthor@hotmail.com
Yahoo Messenger: baidaraka@yahoo.com
Location: Pukhtoonistan


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest

cron