Page 1 of 1
FTP over wan
Posted: Thu Dec 02, 2010 5:17 pm
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?
Re: FTP over wan
Posted: Thu Dec 02, 2010 6:25 pm
by ^misantropia^
Yes, if people will be using EPSV.
Re: FTP over wan
Posted: Thu Dec 02, 2010 6:35 pm
by Doombrain
wha...
Re: FTP over wan
Posted: Thu Dec 02, 2010 6:54 pm
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.
Re: FTP over wan
Posted: Thu Dec 02, 2010 7:28 pm
by MKJ
enable passive mode
Re: FTP over wan
Posted: Thu Dec 02, 2010 7:29 pm
by Doombrain
yeah, just figured it out thanks. now wondering about security from port scanners?
Re: FTP over wan
Posted: Thu Dec 02, 2010 8:00 pm
by bam!
strong passwords and an FTP server worth a shit security-wise and you're fine.
Re: FTP over wan
Posted: Thu Dec 02, 2010 8:02 pm
by Doombrain
cheers. ftp service is from wd mybook. all working fine on my lan, now getting my head around wan...
Re: FTP over wan
Posted: Thu Dec 02, 2010 8:07 pm
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?
Re: FTP over wan
Posted: Thu Dec 02, 2010 8:32 pm
by obsidian
Yeah probably... or I think at least a static IP.
Re: FTP over wan
Posted: Thu Dec 02, 2010 8:32 pm
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.
Re: FTP over wan
Posted: Thu Dec 02, 2010 9:47 pm
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.
Re: FTP over wan
Posted: Thu Dec 02, 2010 9:58 pm
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
Re: FTP over wan
Posted: Fri Dec 03, 2010 9:22 pm
by Doombrain
fuck that shit.
found a https over ssl linux service you install on the drive. win.
Re: FTP over wan
Posted: Sat Dec 04, 2010 11:25 am
by Doombrain
for anyone with a mybook white light
http://highlevelbits.free.fr/
Re: FTP over wan
Posted: Wed Dec 29, 2010 6:13 pm
by Doombrain
PS, don't buy a WD MyBook. the main board has just failed....
Re: FTP over wan
Posted: Wed Dec 29, 2010 7:31 pm
by obsidian
Re: FTP over wan
Posted: Wed Dec 29, 2010 8:52 pm
by Doombrain
Re: FTP over wan
Posted: Wed Jan 05, 2011 11:25 pm
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.
Re: FTP over wan
Posted: Fri Jan 07, 2011 7:17 pm
by Doombrain
This Qnap is the business so far. packed full of management options and tools.