Making an FTP server with MAC OSX Leopard

Hi,

I have 2 macs at home. I use one of them for work and I want to use the other one as a server. Both of them are running MAC OS 10.5.4 (Note they are not running the MAC OS X Server but just MAC OSX). They are both connected to a router (Netgear FM114P). I have installed PureFTP in the one dedicated to be a server. I have bought a domain name which now points at the external IP of the router, redirected that to the local IP of the server. Also I have open all necessary ports and enabled File Sharing, FTP, Remote Login...

However, I can't access the server. I can from my local network and using the local IP of the server, but I can't access from outside my own network.

Can anybody help?

Many thanks

Jose

Mac Pro, Mac OS X (10.5.4)

Posted on Jul 4, 2008 5:02 PM

Reply
16 replies

Jul 5, 2008 2:14 AM in response to Camelot

Hi Camelot,

You're right, I should have probably posted in a different section. Just that I thought more people would know about the issue in this one.

I have done the correct port forwarding according to my router manual. Also, i can't find any information related to my ISP blocking FTP. Is there anybody who could guide me through the whole process?

Getting really desperate...

J

Jul 5, 2008 2:22 AM in response to josegdie

I think it might even be a problem of not entering the right username and password. But which are they? Are they the username and password I have for my MAC OS system? Those don't seem to work. Another example: If I type http://gorgeoustouchftp.com (gorgeoustouchftp.com being the domain name I bought for the server and supposedly directed to it) in the web browser the I get a login window that says:

"To view this page you need to login to area DSL Router on gorgeoustouchftp.com:80" And I need to introduce a username and password. Again, I've tried entering the username and password of the router, also those of my server's system administrator... no luck

thanks

j

Jul 5, 2008 6:32 AM in response to josegdie

before acting on you Os it's better you check if routing packets from outside are correctly delivered to your ftp machine.. you can have a try with Hping2 utlity (check related site searching google) or somethin similar to check correct routing.
Of course look at Console log in utility and Log panel in PureFTPd on ftp machine.
Also you need to enable some rules on router/machine firewall at least for 10 ports for Ftp passive mode (es. 4010-4020) and fill them in PureFTPd.
Note that on some routers you need to create a virtual network first to enable some features.
Any logs to post here?

Jul 6, 2008 9:04 AM in response to myriapod

Unfortunately Hping2 utility is way out of my understanding, that is, i have no idea how to use it. Looking at logs in PureFTP I can see when I successfully connect to the server, that is, using local IP's. So I'm the problem is when trying to connect to it from outside the network. Actually, when I try to connect to my router using external IP with Fetch, I always get the same message "An FTP connection to "88.19.191.176" could not be opened because the FTP server has shut down... Server responded: "Login incorrect".

I can post logs from the router though I'm not sure there's any trace of me trying to connect from outside the network.

In any case, bear in mind the following info:

Server IP address: 88.19.191.176
LAN TCP/IP: 192.168.0.1
My workstation: 192.168.0.7
The comp I want to use as server: 192.168.0.3

Here are some logs:

Sun, 2008-07-06 07:44:21 - UDP packet - Source:192.168.0.7,5353,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:21 - UDP packet - Source:192.168.0.7,49494,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:21 - UDP packet - Source:192.168.0.7,49495,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:22 - TCP packet - Source:192.168.0.7,49919,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:22 - TCP packet - Source:192.168.0.7,49920,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:22 - TCP packet - Source:192.168.0.7,49921,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:22 - TCP packet - Source:192.168.0.7,49922,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:22 - TCP packet - Source:192.168.0.7,49923,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:22 - TCP packet - Source:192.168.0.7,49924,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:22 - TCP packet - Source:192.168.0.7,49925,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:22 - TCP packet - Source:192.168.0.7,49926,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:24 - TCP packet - Source:192.168.0.7,49927,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:26 - UDP packet - Source:192.168.0.7,49498,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:27 - TCP packet - Source:192.168.0.7,49816,LAN - Destination:17.148.16.41,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:27 - TCP packet - Source:192.168.0.7,49805,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:27 - TCP packet - Source:192.168.0.7,49818,LAN - Destination:17.148.16.41,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:27 - TCP packet - Source:192.168.0.7,49807,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:27 - TCP packet - Source:192.168.0.7,49809,LAN - Destination:17.148.16.41,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:27 - TCP packet - Source:192.168.0.7,49808,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:27 - TCP packet - Source:192.168.0.7,49806,LAN - Destination:17.148.16.41,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:27 - TCP packet - Source:192.168.0.7,49804,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:28 - UDP packet - Source:192.168.0.7,49499,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:28 - UDP packet - Source:192.168.0.7,49500,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:28 - UDP packet - Source:192.168.0.7,49501,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:28 - TCP packet - Source:192.168.0.7,49929,LAN - Destination:17.148.16.39,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:28 - UDP packet - Source:192.168.0.7,49502,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:28 - TCP packet - Source:192.168.0.7,49930,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:28 - TCP packet - Source:192.168.0.7,49931,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:28 - UDP packet - Source:192.168.0.7,49503,LAN - Destination:80.58.61.254,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:29 - TCP packet - Source:192.168.0.7,49932,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:30 - TCP packet - Source:192.168.0.7,49933,LAN - Destination:17.148.16.39,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:31 - TCP packet - Source:192.168.0.7,49934,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:32 - TCP packet - Source:192.168.0.7,49935,LAN - Destination:17.148.16.39,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:33 - TCP packet - Source:192.168.0.7,49936,LAN - Destination:85.92.66.125,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:35 - TCP packet - Source:192.168.0.7,49937,LAN - Destination:17.148.16.39,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:37 - TCP packet - Source:192.168.0.7,49938,LAN - Destination:17.148.16.39,143,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:43 - UDP packet - Source:192.168.0.7,49504,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:43 - UDP packet - Source:192.168.0.7,49505,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:43 - UDP packet - Source:192.168.0.7,49506,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:44 - UDP packet - Source:192.168.0.7,49507,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:44 - UDP packet - Source:192.168.0.7,49508,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:44 - UDP packet - Source:192.168.0.7,49509,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:44 - TCP packet - Source:192.168.0.7,49942,LAN - Destination:17.250.248.32,443,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:49 - UDP packet - Source:192.168.0.7,49510,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:49 - UDP packet - Source:192.168.0.7,49511,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:50 - ICMP packet - Source:192.168.0.7,[Destination Unreachable],LAN - Destination:80.58.61.250,[Type:3],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:44:53 - UDP packet - Source:192.168.0.7,123,[NTP],LAN - Destination:17.72.255.12,123,[NTP],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:18 - UDP packet - Source:192.168.0.7,49512,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:18 - UDP packet - Source:192.168.0.7,49513,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:18 - UDP packet - Source:192.168.0.7,49514,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:18 - UDP packet - Source:192.168.0.7,49515,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:19 - UDP packet - Source:192.168.0.7,49517,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:19 - UDP packet - Source:192.168.0.7,49516,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:20 - UDP packet - Source:192.168.0.7,49518,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:20 - UDP packet - Source:192.168.0.7,49519,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:24 - UDP packet - Source:192.168.0.7,49520,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:24 - UDP packet - Source:192.168.0.7,49521,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:24 - TCP packet - Source:192.168.0.7,49986,LAN - Destination:17.254.2.9,443,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:25 - TCP packet - Source:192.168.0.7,49987,LAN - Destination:17.254.2.9,443,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:25 - TCP packet - Source:192.168.0.7,49988,LAN - Destination:17.254.2.9,443,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:25 - TCP packet - Source:192.168.0.7,49989,LAN - Destination:17.254.2.9,443,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:25 - TCP packet - Source:192.168.0.7,49991,LAN - Destination:17.254.2.9,443,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:26 - UDP packet - Source:192.168.0.7,49523,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:26 - UDP packet - Source:192.168.0.7,49522,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:26 - TCP packet - Source:192.168.0.7,49992,LAN - Destination:128.241.21.229,443,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:55 - UDP packet - Source:192.168.0.7,49524,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:55 - UDP packet - Source:192.168.0.7,49525,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:58 - UDP packet - Source:192.168.0.7,49526,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:58 - UDP packet - Source:192.168.0.7,49527,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:58 - UDP packet - Source:192.168.0.7,49528,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:48:58 - UDP packet - Source:192.168.0.7,49529,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:49:28 - UDP packet - Source:192.168.0.7,49530,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:49:28 - UDP packet - Source:192.168.0.7,49531,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:49:58 - UDP packet - Source:192.168.0.7,49533,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:49:58 - UDP packet - Source:192.168.0.7,49532,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:50:28 - UDP packet - Source:192.168.0.7,49536,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:50:28 - UDP packet - Source:192.168.0.7,49537,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:50:58 - UDP packet - Source:192.168.0.7,49538,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:50:58 - UDP packet - Source:192.168.0.7,49539,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:51:27 - UDP packet - Source:192.168.0.7,49540,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:51:27 - UDP packet - Source:192.168.0.7,49541,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:51:57 - UDP packet - Source:192.168.0.7,49542,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:51:57 - UDP packet - Source:192.168.0.7,49543,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:52:27 - UDP packet - Source:192.168.0.7,49544,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:52:27 - UDP packet - Source:192.168.0.7,49545,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:52:57 - UDP packet - Source:192.168.0.7,49546,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:52:57 - UDP packet - Source:192.168.0.7,49547,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:53:27 - UDP packet - Source:192.168.0.7,49548,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:53:27 - UDP packet - Source:192.168.0.7,49549,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:53:57 - UDP packet - Source:192.168.0.7,49550,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:53:57 - UDP packet - Source:192.168.0.7,49551,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:53:59 - UDP packet - Source:192.168.0.7,49552,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:53:59 - UDP packet - Source:192.168.0.7,49553,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:53:59 - UDP packet - Source:192.168.0.7,49554,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:53:59 - UDP packet - Source:192.168.0.7,49555,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:54:14 - UDP packet - Source:192.168.0.3,5353,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:54:16 - TCP packet - Source:192.168.0.3,49595,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:54:16 - TCP packet - Source:192.168.0.3,49596,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:54:16 - TCP packet - Source:192.168.0.3,49597,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:54:16 - TCP packet - Source:192.168.0.3,49598,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:54:43 - UDP packet - Source:192.168.0.3,123,[NTP],LAN - Destination:17.72.255.11,123,[NTP],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:55:27 - UDP packet - Source:192.168.0.7,49556,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:55:27 - UDP packet - Source:192.168.0.7,49557,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:55:34 - TCP packet - Source:192.168.0.7,50039,LAN - Destination:17.250.248.32,443,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:55:57 - UDP packet - Source:192.168.0.7,49558,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:55:57 - UDP packet - Source:192.168.0.7,49559,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:27 - UDP packet - Source:192.168.0.7,49562,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:27 - UDP packet - Source:192.168.0.7,49563,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:45 - UDP packet - Source:192.168.0.3,49200,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:45 - UDP packet - Source:192.168.0.3,49201,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:45 - UDP packet - Source:192.168.0.3,49202,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:45 - UDP packet - Source:192.168.0.3,49203,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:45 - UDP packet - Source:192.168.0.3,49204,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:46 - UDP packet - Source:192.168.0.3,49205,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:46 - UDP packet - Source:192.168.0.3,49206,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:52 - UDP packet - Source:192.168.0.3,49207,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:52 - UDP packet - Source:192.168.0.3,49208,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:52 - UDP packet - Source:192.168.0.3,49209,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:52 - UDP packet - Source:192.168.0.3,49210,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:53 - UDP packet - Source:192.168.0.3,49211,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:53 - UDP packet - Source:192.168.0.3,49212,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:53 - UDP packet - Source:192.168.0.3,49213,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:54 - UDP packet - Source:192.168.0.3,49214,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:56 - UDP packet - Source:192.168.0.3,49215,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:56 - UDP packet - Source:192.168.0.3,49216,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:56 - UDP packet - Source:192.168.0.3,49217,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:56 - UDP packet - Source:192.168.0.3,49218,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:56 - UDP packet - Source:192.168.0.3,49219,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:56 - UDP packet - Source:192.168.0.3,49220,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:56:59 - Administrator login successful - IP:192.168.0.3
Sun, 2008-07-06 07:57:35 - UDP packet - Source:192.168.0.3,49222,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:57:35 - UDP packet - Source:192.168.0.3,49223,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:57:37 - UDP packet - Source:192.168.0.3,49224,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:57:37 - UDP packet - Source:192.168.0.3,49225,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:57:37 - UDP packet - Source:192.168.0.3,49226,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:57:37 - UDP packet - Source:192.168.0.3,49227,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:57:39 - UDP packet - Source:192.168.0.3,49228,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:57:39 - UDP packet - Source:192.168.0.3,49229,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:57:40 - Administrator login fail, Password error - IP:192.168.0.3
Sun, 2008-07-06 07:58:57 - UDP packet - Source:192.168.0.7,49564,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:58:57 - UDP packet - Source:192.168.0.7,49565,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:59:27 - TCP packet - Source:192.168.0.7,50053,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:59:27 - UDP packet - Source:192.168.0.7,49566,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:59:27 - UDP packet - Source:192.168.0.7,49567,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:59:31 - TCP packet - Source:192.168.0.7,50055,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:59:34 - TCP packet - Source:192.168.0.7,50056,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:59:57 - UDP packet - Source:192.168.0.7,49568,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:59:57 - UDP packet - Source:192.168.0.7,49569,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 07:59:57 - TCP packet - Source:192.168.0.7,50058,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:00:27 - UDP packet - Source:192.168.0.7,49571,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:00:27 - UDP packet - Source:192.168.0.7,49570,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:00:40 - TCP packet - Source:192.168.0.7,50060,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:00:44 - TCP packet - Source:192.168.0.7,50061,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:00:44 - TCP packet - Source:192.168.0.7,50062,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:00:51 - TCP packet - Source:192.168.0.7,50063,LAN - Destination:17.250.248.161,5354,WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:01:27 - UDP packet - Source:192.168.0.7,49572,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:01:27 - UDP packet - Source:192.168.0.7,49573,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:01:57 - UDP packet - Source:192.168.0.7,49574,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:01:57 - UDP packet - Source:192.168.0.7,49575,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:02:27 - UDP packet - Source:192.168.0.7,49578,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:02:27 - UDP packet - Source:192.168.0.7,49579,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:02:57 - UDP packet - Source:192.168.0.7,49580,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]
Sun, 2008-07-06 08:02:57 - UDP packet - Source:192.168.0.7,49581,LAN - Destination:80.58.61.250,53,[DNS],WAN [Forward] - [Outbound Default rule match]

Many thanks

Jose

Jul 6, 2008 9:42 AM in response to josegdie

it's not clear what happens to your connection except for a failed password attemp and some incorrect packet routing...I suggest you to :
1- check your Inbound rules on your router , here is a guide step by step about FTP on your netgear model http://www.portforward.com/english/routers/port_forwarding/Netgear/FR114P/FTP.ht m
... here the index http://www.portforward.com/english/routers/port_forwarding/Netgear/FR114P/ for every rules/setup you need.

2 - Are you running PureFtpd as MacOsX Superserver? What account didn't log in ? a system user account or a Pureftpd account (virtualftp group)?

Jul 6, 2008 9:53 AM in response to myriapod

I'm running PureFTP on regular MAC OS X... When I try logging in with Fetch using LAN IP, I can do it without problem from either system and PureFTP accounts. When trying to log in from external IP I won't succeed using neither...

I've also gone through those manuals that you sent me. So it all should work but it doesn't.

J

Message was edited by: josegdie

Jul 6, 2008 12:13 PM in response to josegdie

Also, I found this documentation (i do not know whether this has anything to do with it):


Notes for MacOS X users

To get Pure-FTPd authenticate against system users on MacOS X (at least since version 10.3) you need to use
PAM. In order to make PAM work you currently have to:

$ cd /usr/include
$ ln -s pam security

Then configure and build.

$ ./configure --with-pam <your other favorite options like --with-everything>
$ make install-strip

Create a /etc/xinetd.d/ftp file similar to this one:

service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/local/sbin/pure-ftpd
server_args = -A -E –lpam
groups = yes
flags = REUSE
}

Create a /etc/pam.d/pure-ftpd file:

# pure-ftpd: auth account password session
auth required pam_nologin.so
auth sufficient pam_securityserver.so
auth sufficient pam_unix.so
auth required pam_deny.so
account required pam_permit.so
password required pam_deny.so
session required pam_uwtmp.so

Restart xinetd:

$ kill -HUP $(cat /var/run/xinetd.pid)

Jul 6, 2008 12:48 PM in response to josegdie

i've installed few minutes ago the latest PureFTPd version to make a try ,it's running on MacOsX 10.5.4 (iMac 2.4ghz) without no problem.
Leopard Os is very different from tiger or panther so maybe that document 'd be outdated.
I'd repeat this step
- correct rules on your netgear ( rules for a range of 10 ports used for passive mode + 21 to 192.168.0.3)
- reset pureftp installation and restart its assistant manager skipping anonymous user if not needed,
enable system users, accept default home locations, and group permissions.

If this went wrong, try with another service (ssh or afp) and look if logins works ,
in case of problems reset your netgear and repeat setup again...

Jul 6, 2008 4:36 PM in response to josegdie

ftp requires opening up the ephemeral port ranges on one or both ends of the connection all the way through (depending on the active or passive selection), and ftp transmits your user and password authentication information entirely in cleartext.

I'm somewhat surprised that the Netgear manual doesn't mention the port range detail, unless it leaves the ephemeral range open, or unless the firewall sniffs the ftp traffic itself. If you're really and seriously using ftp, might just dispense with your firewall given the cleartext passwords and the ephemeral range; it'll make the connection easier, too.

But if I can't dissuade you from opening up your network security and exposing your password, might I suggest you get something relatively simple and secure working first here, like sftp or ssh? Or something simple and insecure, such as telnet. Before you [tangle with ftp|http://64.223.189.234/node/530], that is.

Jul 7, 2008 12:20 AM in response to josegdie

I suspect you mean you installed and use PureFTPd Manager (includes PureFTPd)?

Maybe try this: http://jeanmatthieu.free.fr/pureftpd/doc/adv/fw.html


Also if you get it up and running you can add "-b" (without the " ") as an option using the GUI then you'll get a dialog if connecting from a web-browser and forget to add: login:password@ to get at your FTP server ( ftp://login:password@<server name>/).

We usually disable/remove PAM and use only the puredb (try logging in using root/<password> when PAM is enabled - if root is enable that is).

Do you have a "DMZ" IP configured?

Jul 7, 2008 12:04 PM in response to Leif Carlsson

Hi,

I have File Sharing and FTP enabled. Also tried opening all necessary ports in my firewall. I even tried ticking the DMZ box and directing to my server... Nothing seems to work. And it seems that the firewall is not letting connections through since I can connect and PureFTPd works fine within the LAN but not from outside it. The same message pops up: "Server not found; or server has shut down or login incorrect, etc..."

Can anybody guide me step by step so I can get this to work?

Many thanks!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Making an FTP server with MAC OSX Leopard

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.