Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Using DSL as a FTP server?< Next Oldest | Next Newest >
gjhicks Offline





Group: Members
Posts: 108
Joined: April 2004
Posted: Mar. 02 2006,00:15 QUOTE

Hi,

I am using a DSL (version 2.0) box as a 'server' for my home lan.  It works great,  providing internet access to several users (content filtered by privoxy) and also a '/scratch' area that all users (mixed Win98Se and WinXP) can upload/download files.

So, I want to be able to access this '/scratch' area on the server from outside, via FTP.

Based on various posts to this forum, it seems I should turn the DSL box into a firewallled server, using rc.firewall, and use pureFTPD as the FTP server.

After I tried setting all this up, I could ping the DSL box from outside, that is I could ping the ISP provided IP address, without problem.  But, I could not connect, using either the FTP approach or using VNC (xvnc installed on the DSL box and works fine on the local LAN).

My setup looks like this:



Any help much appreciated.

Geoff.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 02 2006,00:26 QUOTE

Does your Dlink 504 router need port forwarding for port 21 FTP?
Back to top
Profile PM WEB 
gjhicks Offline





Group: Members
Posts: 108
Joined: April 2004
Posted: Mar. 02 2006,00:56 QUOTE

Hi,

Thanks for the prompt reply.  I reckon that could be the solution but given my understanding of router setup (low!) I would value your further suggestions.

The setup page for the router port redirection looks like this:



The FTP port (21) appears under the 'Well-known port' drop-down dialog.  Should I set the 'Local IP Address' to the inbound DSL Box IP address? Also, should the 'protocol' be TCP or UDP?  Lastly, any ideas on the 'Select Index to set' and the 'State'?

Presuming that this is the method to get connected to the DSL box FTP server, do I have to get rid of the NAT service in the router and do it with the DSL box, or is that a separate http isssue?

Thanks again,

Geoff.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 02 2006,01:16 QUOTE

I would be careful opening up ftp it is not secure!
But to try to answer your questions:

if your grep ftp /etc/services it shows tcp not udp
I believe your Local IP would be 192.168.0.2 your inbound DSL box
Not sure of your options on D-link for the others. Try it.

Personally I would rather see you use SCP which DSL supports.
But I know FTP is very popular.
Back to top
Profile PM WEB 
gjhicks Offline





Group: Members
Posts: 108
Joined: April 2004
Posted: Mar. 02 2006,01:35 QUOTE

Thanks again.

I will try to use SCP as you suggest, I only mentioned FTP due to being unaware of the alternative.

I searched the DSL forums for SCP and found a link to a SCP Manual, on the Duke Uni site, but the site has been changed and it no longer available.

Googled SCP and got a zillion hits.  Could you point me in the direction of some info on using SCP, that is applicable to the way it is supported in DSL?

Regards,

Geoff.
Back to top
Profile PM 
8 replies since Mar. 02 2006,00:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Using DSL as a FTP server?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code