Forum Home
Press F1
 
Thread ID: 76404 2007-01-31 06:13:00 Linux - proftpd - can't quite get it happening. personthingy (1670) Press F1
Post ID Timestamp Content User
521050 2007-01-31 06:13:00 Here's the error message when i try to start proftpd on my debian box what connects directly to my cable modem:


server:~# proftpd
- IPv6 getaddrinfo 'server.cable.telstraclear.net' error: Name or service not known
server.cable.telstraclear.net - fatal: Socket operation on non-socket
server:~#

turning IPv6 support off reduces the error to:


server:~# proftpd
server.cable.telstraclear.net - fatal: Socket operation on non-socket
server:~#


Going to ftp://203.97.119.70 or any of the domains i have pointing to my server simply produces a time out error.

"man proftpd" doesn't say anything that i can see as being helpful to me..

I'm running with the standard proftpd.conf file with the exception of:



ServerName "something.net.nz"



Can anyone tell me what i am doing wrong?

What i'd like to be able to do is log in as a user recognized by my server, and be able to alter the files in ~/relevant_user/pub thus effecting the website served
personthingy (1670)
521051 2007-01-31 06:20:00 Is your cable modem setup to pass the FTP thru to your server? & have you tried your ip address as the server name? stu161204 (123)
521052 2007-01-31 06:26:00 I don't think there is an additional problem with the outside world not being able to see in.
All though for all i know there could be.


I get the same time out errors if i go to ftp://192.168.0.1 from other computers on my LAN
personthingy (1670)
521053 2007-01-31 07:05:00 A symbolic link to the full .conf file is here:

www.something.net.nz
(saves me updating this thread with every failed modification)

I've renamed the servername to "server" as that is my servers somewhat unimaginative name
personthingy (1670)
521054 2007-01-31 10:30:00 You probably wont be able to FTP into yourself

If you're going to do that, FTP to your LAN IP address and not your Internet IP Address.

Get somebody else, a friend on MSN/Jabber/Icq to test for you that the port-forwarding works. From there, you should be able to configure / test it / set it up the way you want it by FTP'ing into your LAN IP.

Some routers / modems just get confused when an internal IP address tries to go out into the world wide web, then come back in and get the data port-forwarded around.. just seems to get them all muddled up :(
Chilling_Silence (9)
521055 2007-01-31 19:25:00 You probably wont be able to FTP into yourself

If you're going to do that, FTP to your LAN IP address and not your Internet IP Address.
I'm attempting to use FTP from "debs" to access and alter files on "server".

Current set up is:

Cable modem ----- "server" (203.97.119.70 or 192.168.0.1 a gui-less debian box) --- switch --- other machines on the LAN, including "debs" my Mepis box, where i am now.



Some routers / modems just get confused when an internal IP address tries to go out into the world wide web, then come back in and get the data port-forwarded around.. just seems to get them all muddled up :(

Yesh well.. When i go to 192.168.0.1/ it takes me to the folder that php admin lives at, but when i go to http: it takes me to Bletch's chatf1. It seems that the cable modem has no issues with sending 203.97.119.70 back to server, but the server responds a little differently to requests from the LAN or internet. Not that this is relevant to FTP requests. -- (i hope)

Either way, i'm testing using ftp://192.168.0.1, and it's stil not responding.
personthingy (1670)
521056 2007-02-01 01:20:00 It should work perfectly within a LAN, but the user "root" will usually not be allowed to use it by default. That's for security. Trying to "externally" access it by going out to the Internet and back in (from the same LAN) usually won't work. That's for efficiency. Graham L (2)
521057 2007-02-01 05:17:00 The point everyone seems to be missing is not that the FTP server is failing to work in the exact way i want it to, but that it is failing to work at all even if i access it from my machine in the next room and go to ftp://192.168.0.1 personthingy (1670)
521058 2007-02-01 11:16:00 New config file here:
www.something.net.nz

No reported issues at start up of proftpd anymore.

However, nothing can connect to the ftp server in practice still

It's a great wee www server, just nobody can get into the ftp server.
well, i suppose that adds to security
:p
personthingy (1670)
521059 2007-02-01 21:52:00 Thinking it might be a firewall issue, i added port 21 to this file
/etc/firestarter/inbound/allow-service

Thus:
FTP 21, everyone, Public FTP
SSH, 22, everyone, Public SSH
HTTP, 80, everyone, Public HTTP
P2P, 6346, everyone,

Still no-one can get at my FTP server that may or may not be running
:(
personthingy (1670)
1 2 3