FTP over wan

Locked
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

FTP over wan

Post by Doombrain »

Dudes. I would like to set up an FTP. Am I right in thinking I just need to:

Setup a nas to static ip
Port forward port 21 to ip address
Done?
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: FTP over wan

Post by ^misantropia^ »

Yes, if people will be using EPSV.
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

wha...
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

edit: right, it's working over WAN.

2nd question, how safe it this?

port 21 forwarded to a static IP of NAS > FTP to user name and password.

static IP done by allocating MAC address inside of DHCP.
Last edited by Doombrain on Thu Dec 02, 2010 7:28 pm, edited 1 time in total.
User avatar
MKJ
Posts: 32581
Joined: Fri Nov 24, 2000 8:00 am

Re: FTP over wan

Post by MKJ »

enable passive mode
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

yeah, just figured it out thanks. now wondering about security from port scanners?
bam!
Posts: 511
Joined: Tue Sep 21, 2010 8:59 pm

Re: FTP over wan

Post by bam! »

strong passwords and an FTP server worth a shit security-wise and you're fine.
Dork Meddle can't handle awesome sigs.
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

cheers. ftp service is from wd mybook. all working fine on my lan, now getting my head around wan...
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

yep, i'm lost.

if i'm off my lan how do i connect to the nas over the internet?

i'm i going to need some dns service for this?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: FTP over wan

Post by obsidian »

Yeah probably... or I think at least a static IP.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

that's the bit i don't understand. is it the IP of the router on port 8080?

got my wan ip and it logs into the ftp but i get a port error, lost now.
Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Re: FTP over wan

Post by Tormentius »

Passive FTP enabled, forward port 21 TCP to your LAN, and you should be golden if you connect to ftp://YOUR-IP . Dyndns.org is a free DNS service or you can just use your WAN IP.
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

now wondering if my isp is blocking port 21. anyway to find out?

router-
static IP to nas set via mac address
PF set to static IP on port 21

NAS-
FTP service on
port 21
IP as above

Status: Connecting to **********************
Status: Connection established, waiting for welcome message...
Response: 220 vsFTPd 2.0.4+ (ext.3) ready...
Command: USER ************
Response: 331 Please specify the password.
Command: PASS ********
Response: 230 Login successful.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: EPRT
Response: EPSV
Response: MDTM
Response: PASV
Response: UTF8
Response: REST STREAM
Response: SIZE
Response: TVFS
Response: 211 End
Command: OPTS UTF8 ON
Response: 200 UTF8 option is On.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PORT 192,168,0,3,208,37
Response: 500 Illegal PORT command.
Error: Failed to retrieve directory listing
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

fuck that shit.

found a https over ssl linux service you install on the drive. win.
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

for anyone with a mybook white light

http://highlevelbits.free.fr/
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

PS, don't buy a WD MyBook. the main board has just failed....
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: FTP over wan

Post by obsidian »

Be a real man and get a real NAS:

http://www.dlink.ca/products/?pid=509
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Re: FTP over wan

Post by Foo »

Doombrain wrote:PS, don't buy a WD MyBook. the main board has just failed....
Yeah WD external drives are all junk. They make great hard drives, but terrible enclosures and software.
Doombrain
Posts: 23227
Joined: Sat Aug 12, 2000 7:00 am

Re: FTP over wan

Post by Doombrain »

This Qnap is the business so far. packed full of management options and tools.
Locked