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

Re: SSH AND IPTABLES



At 03:03 p.m. 12/07/01 -0400, dude wrote:


Very simply what should i read and
what would it look like
to enable ssh on my firewall so that it accepts
ssh connections (only) from the outside?

I just checked
/etc/ssh/sshd_config

#ListenAddress 0.0.0.0
uncomment this line and put there the outter address of your box.
but if that machine acts as gw, you should also deny sshing from that machine to itself, in hosts.deny it would be sshd: 1.2.3.4
It probably has other ways, but I don't know...



Reply to: