On Mon, Apr 6, 2009 at 11:04 AM, Michael Lynch <[email protected]> wrote:
>
> I have a server that needs some ports open & others closed & stealthed
> I tried to open the necessary ports by opening them in the firewall
> this did not produce the expected results
> On an nmap scan these ports at first did not show at all
> now the ports show but they appear as closed
>
>
> Could someone instruct me on how to open specific ports in iptables
> and how to make all unnecessary ports closed and stealthed?

iptables cannot open ports. It can filter them (which is probably what
you mean by "stealthed"), but a port only become open if there's a
program listening on that port. You need to start a server daemon
(sshd, apache, or whatever) configured to listen on the unfiltered
port for it to appear as "open" in an nmap scan.

-- 
Brad Beyenhof . . . . . . . . . . . . . . . . . http://augmentedfourth.com
Life would be so much easier if only (3/2)^12=(2/1)^7.

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to