Paltalk Messenger Isn't Running

General discussion about PLUC and Linux in Pakistan.
Post Reply
zAm
Havaldaar
Posts: 148
Joined: Wed Oct 19, 2005 9:28 am
Location: Pakistan, Karachi
Contact:

Paltalk Messenger Isn't Running

Post 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)
Proud To Be Lyarianz !
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Re: Paltalk Messenger Isn't Running

Post by lambda »

you probably need nat rules. add the appropriate entries to POSTROUTING or PREROUTING.
zAm
Havaldaar
Posts: 148
Joined: Wed Oct 19, 2005 9:28 am
Location: Pakistan, Karachi
Contact:

What POSTROUTING & PREROUTING rules ?

Post 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)
Proud To Be Lyarianz !
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Re: What POSTROUTING & PREROUTING rules ?

Post 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.
sarthor
Battalion Quarter Master Havaldaar
Posts: 241
Joined: Wed Dec 24, 2003 2:36 am
Location: Pukhtoonistan
Contact:

Paltalk Ports

Post 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.
Tefl E Maktab
-----------------------------
----- ----- ----- ------ ------ -------
Post Reply