Re: opening a port


Subject: Re: opening a port
From: Richard Mckinney (mckinney@gci.net)
Date: Mon Jan 28 2002 - 18:31:24 AKST


the command netstat -na will list all the ports that ate open and have
soomething listening on them.

Rich

-----Original Message-----
From: Greg Jetter <greg@lazymountain.com>
To: aklug@aklug.org <aklug@aklug.org>
Date: Monday, January 28, 2002 12:25 PM
Subject: opening a port

>
>Hey Folks:
>
> Im trying to open port 8000 on my redhat 7.2 , i've added the ipchain
rule
>to my firewall rule set
>ipchains -A input -s 0/0 -d 0/0 8000 -p tcp -y -j ACCEPT
>
>and
>
>ipchains -A input -s 0/0 -d 0/0 8000 -p udp -j ACCEPT
>
>the ipchains module is loased from my rc.local file at boot time
>
>every other port I closed or opened with a ipchains command works like it
>should example I opened port 10000 for webmin with the same ipchain rule
>ipchain -A input -s 0/0 -d 0/0 10000 -p tcp -y -j ACCEPT no problem the
>port opens .
>
>Do I have to do any thing else ? like list the port in the /etc/services
>file ?
>
>I'm running xinetd.d , so do I have to make an entry in that ? I did'nt
have
>to for port 10000.
>
>any advice would be nice.
>
>I'm stumped as to where to procede from here
>
>Thanks
>
>Greg
>
>
>
>



This archive was generated by hypermail 2a23 : Mon Jan 28 2002 - 18:03:52 AKST