Click to See Complete Forum and Search --> : help for iptables


azure_ss
10-01-2002, 10:05 PM
hi,all
I am new for linux and I just installed redhat 7.1 on a server
coz I have some service running on port 50000,I want to open the port for user from internet but I found that it doesn't work.
Actually,I am sure that the service is on coz I can telnet from my linux box to port 50000.I think it may have something to do with the ipchains or iptables.
When I tried using "ipchains stop" to stop ipchains."failed" return saying that "protocol is not available".Does it mean that ipchains is not running?
So I tried "iptables stop",it returns "resetting built-in chains to the default accept policy ok",but I still can't telnet my port number from outside.How can I check the rules currently applying for iptables?Is it in a script file?
BTW,the hosts.allow and hosts.deny is ok.thx
And,why can't I use something like "iptables -L".it returns that I can only apply start|stop|restart|save|... to iptables