Re: sshd: listen on ip1:port1 and ip2:port2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Eero, 

> How about using iptables to forward 443 to 22? I think it is the
> simplest way to do this hack.

no, the simplest way is to tell sshd on which port to listen on each interface. Which is extremely straightforward.

Redirecting ports to other ports IMHO is neither particularly simple nor maintenance-friendly ... don't do it unless there really is no other way, or the next guy who has to figure out in a hurry what the system does will really, really hate you ... :-)

Best regards, 

  Peter. 
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux