ssh session from external machine

Matt Piechota piechota at argolis.org
Fri Dec 29 07:14:37 PST 2006


On Fri, 29 Dec 2006, Kostas Kourkounis wrote:

> I am having a small problem with the ssh daemon on my freebsd box. I am
> using the standard ssh daemon asked at the installation. I am able to acces
> my box using ssh from the internal lan network but not from any external
> machine. The error code is connection refused. I am using release 6.1 and my
> modem firewall permits the inbound traffic on port 22. I also use port
> forwarding for sending the traffic to port 22 to the correct machine where
> the ssh daemon is running. Maybe i am missing any configuration hint or
> something else.
> Does anyone has any Idea?

The first step I'd take would be to run tcpdump on your internal machine 
to verify that the packets are getting through the firewall, and if the 
internal machine is responding.

That's just troubleshooting 101.

-- 
Matt Piechota


More information about the freebsd-security mailing list