Page 1 of 1

Paltalk Messenger Isn't Running

Posted: Wed Dec 07, 2005 5:08 am
by zAm
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)

Re: Paltalk Messenger Isn't Running

Posted: Thu Dec 15, 2005 4:43 pm
by lambda
you probably need nat rules. add the appropriate entries to POSTROUTING or PREROUTING.

What POSTROUTING & PREROUTING rules ?

Posted: Thu Dec 15, 2005 8:27 pm
by zAm
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)

Re: What POSTROUTING & PREROUTING rules ?

Posted: Tue Dec 20, 2005 7:11 pm
by lambda
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.

Paltalk Ports

Posted: Sat Jan 28, 2006 2:39 am
by sarthor
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.