opening port for SSH

Rob Sterenborg rob at sterenborg.info
Wed Dec 14 18:28:15 CET 2005


> But some questions I have here:
>
> What's the benefif of preferring
>     either "--dport ssh"
>     or     "--dport 22"?

It's the same. Look in /etc/services for service-names you can use.
You can use the notation that you prefer.

> And, what's the means for "bindind the ssh server to a higher port"?

A "higher port" means a portnumber somewhere above 1024.
Normally ssh binds to port 22/tcp (see above). In sshd_config you can
tell it to bind to 49152 or something.


Gr,
Rob




More information about the netfilter mailing list