On Sat, Jan 19, 2002 at 08:01:50PM -0700, Lee Roberts said:
> At 07:17 PM 1/19/2002 -0600, G. T. Francisco, III wrote:
> >On Sat, Jan 19, 2002 at 11:58:06AM -0700, Lee Roberts said:
> >> I can get an SSH session from the intranet but not from the internet.
> >> A port scan shows TCP port 22 open but the connection is refused when
> >> trying to connect to my Linux box from the internet. I probably have
> >> a config file problem. Can someone save me the time of studying man
> >> pages, etc? BTW, I'm using ttssh on a laptop running Win2K to try to
> >> establish the SSH connection to the Linux box (works OK on the
> >> intranet but not the internet).
> >> 
> ><snip>
> >
> >Check your firewall (ipchains/iptables) rules, check your hosts.allow
> >and hosts.deny also.
> 
> Why would I need to check iptables when a port scan shows the TCP port 22 open?
> 
> hosts.allow and hosts.deny are empty.
> 

The port could be open (you did the port scan from the internet,
right?) but an iptables rule could still deny access to a specific ip
address or interface.

HTH,


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to