Re: ssh session from external machine



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
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: OpenSSH through a Firewall
    ... > so the basic recap is I have a client on the internet which connects to ... > port 21 and I haven't been able to connect to it through the firewall ... Are you sure about that port number? ... What I did is setup the internal machine to use ...
    (comp.security.ssh)
  • Re: Forward to an Internal - SBS2003 STD
    ... I'm trying to setup PcAnywhere becuase the user prefers it to RDP ... > You may configure RRAS basic firewall to forward the traffic on port ... Type the port as the "Incoming port". ... Type the IP address of the internal machine as the "Private address". ...
    (microsoft.public.windows.server.sbs)
  • Re: Ports Open Closed Invisible
    ... >IP of the gateway to one port on one internal machine. ... I am thinking that once it is known that an open port exists at that ...
    (comp.security.firewalls)
  • Re: [opensuse] simple LAN
    ... can you run the following command in a console: ... If you don't it's because the ssh daemon isn't running so there is not port ... with that exact command to unload the firewalls rules ...
    (SuSE)
  • RE: Forward to an Internal - SBS2003 STD
    ... You may configure RRAS basic firewall to forward the traffic on port ... to an internal machine as following: ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)