Re: [Nolug] ports

From: Scott Harney <scotth_at_scottharney.com>
Date: Wed, 26 Feb 2003 06:54:01 -0600
Message-ID: <877kbngq3a.fsf@zenarcade.local.lan>

-ray <ray@ops.selu.edu> writes:

>
> Yea that's right, 0.0.0.0 is an alias for "everything". In other words,
> sshd is listening on port 22 on every interface and every ip address on
> your box. Openssh does that by default. Nothing to do with dhcp, but if
> you want to port forward, you should give the linux box a static ip. FYI
> you'll also see 0.0.0.0 show up as your default route (netstat -rn), ie a
> route to "everything else".

Even with a static IP the 0.0.0.0:22 will be in the output of 'netstat -an'.
This is normal. Here's what mine says:
netstat -an | grep 22
tcp 0 0 :::22 :::* LISTEN

I've got IPv6 running. that's the alias for "anything" on IPv6.

-- 
Scott Harney<scotth@scottharney.com>
"...and one script to rule them all."
___________________
Nolug mailing list
nolug@nolug.org
Received on 02/26/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST