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 [EMAIL PROTECTED]:~> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to