Help - Search - Members - Calendar
Full Version: Opening Port With Iptables
Linuxhelp > Support > Technical Support
i m using Redhat linux 9.0
i want to allow Kazaa, Net2Phone and Paltalk ports to allow my users for using these softwares.
can anyone tell me which ports should be opened in iptables for allowing these softwares.
thanx in advance.


Kazaa is port 1214 TCP...
thanx !
let me tell u details wat i've done and wat i m trying to do...
i was suffering for some unexpected broadcasting frm my client's pc and write a simple firewall. my eth0's ip is static ip which is connected with internet ( and eth1's ip is connected with my LAN ( my firewall is something like followings:

iptables -A INPUT -s -d 0/0 -j ACCEPT
iptables -A FORWARD -s -d 0/0 -j ACCEPT

iptables -A FORWARD -s 0/0 -d 0/0 --dport 80 -j ACCEPT
iptables -A FORWARD -s 0/0 -d 0/0 --dport 20 -j ACCEPT
iptables -A FORWARD -s 0/0 -d 0/0 --dport 21 -j ACCEPT
iptables -A FORWARD -s 0/0 -d 0/0 --dport 22 -j ACCEPT
iptables -A FORWARD -s 0/0 -d 0/0 --dport 6000:7000 -j ACCEPT
iptables -A FORWARD -s 0/0 -d 0/0 -j REJECT
iptables -t nat POSTROUTING -o eth0 -j SNAT --to-source

someone told me to use this script for avoiding unexpected broadcasting which crashed my total network. with this script i allow only those ports which is trustworthy and which is used for specfic softwares.
is there any other way to do this job ??
i've read ur link and tried to open Net2Phone's port for my clients
but its not working . i've to open all ports from 1 to 30000 to allow net2phone. but my servers hanged up when i open so many ports.

now what to do ?
For Net@Phone, it looks like you specify 3 ports (2 udp and one tcp) and then you setup net2phone to use those 3 ports ... one of them is 6801 .. .you pick the other 2 and then change the configureation of net2phone on each clinet...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.