Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 22:24:26 +0200
From:      Janine C.Buorditez <johann@broadpark.no>
To:        questions@freebsd.org
Subject:   WERP WERP --] Socket error! (FTP)
Message-ID:  <20021014222426.40d75561.johann@broadpark.no>

next in thread | raw e-mail | index | archive | help

Greetings.

I am running an OpenFTPD server and have no problems connecting to it locally.
Remotely I'm getting socket errors.

Using cons in the installation of OpenFTPD I set the portrange to 3000:4000. The
port the daemon listens to is 31337. I'm running NAT, and have forwarded these
ports to Ninja from my Cisco 677i-DIR ADSL-router/modem:

#############

      NAT >
--------- >
	|
Name: Router (CBOS)
IP:   217.13.29.51
        |
        v
Name: Ninja (FreeBSD)
IP:   192.168.187.1
        |
        v
Name: Aegis (FreeBSD)
IP:   192.168.187.2

   ROUTER >
--------- >
	|
set nat entry add 10.0.0.2 1024-5000 0.0.0.0 1024-5000 tcp
set nat entry add 10.0.0.2 31337 0.0.0.0 31337 tcp

   RESULT >
--------- >
	|
lftp test@ninja.terrabionic.com:~> ls
---- Connecting to ninja.terrabionic.com (217.13.29.51) port 31337
**** Socket error (Connection timed out) - reconnecting

#############

NAT, it seems, has really made networking a lot harder for me than what I
deserve. I hope somebody understands my situation and are able to give useful
replies.

Thanks!

--janine

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021014222426.40d75561.johann>