Old 01-03-2012, 10:34 AM   #1 (permalink)
Untanglit
 
Join Date: Jul 2011
Posts: 22
Digitalexp is on a distinguished road
Default Ftp

Hello,

I created a FTP server on one of the servers at work, and im stumped.

Im using filezilla (server) I make an account in filezilla with a password. It works fine internally, but when I get home and test it, i get, Critical Error, Could not connect to server. The FTP rule in the firewall is turned off, to block port 21.

It does notice and accept the account I just created, but wont let me further.

Any hints? Am I missing something?
Digitalexp is offline  
Old 01-03-2012, 10:35 AM   #2 (permalink)
Untangle Ninja
 
hlarsen's Avatar
 
Join Date: Jul 2010
Location: sfba
URLs submitted: 1
Posts: 1,137
hlarsen is on a distinguished road
Default

pasv ports?

http://wiki.untangle.com/index.php/P...ng_FTP_Traffic
__________________
Attention: Support on the Untangle Forums is provided by volunteers and community members.
If you need official Untangle support please call or email support@untangle.com.
hlarsen is offline  
Old 01-03-2012, 10:36 AM   #3 (permalink)
Untangle Junkie
 
dmorris's Avatar
 
Join Date: Nov 2006
Location: San Mateo, CA
URLs submitted: 10
Posts: 10,611
dmorris is on a distinguished road
Default

FTP uses separate connections for data transfers.
These are specified with the PASV or PORT commands.

You probably need to create a port forward for the data connections, and configure the server to use the port range that your have forwarded for the data connections.
__________________
Attention: Support and help on the Untangle Forums is provided by
volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com
dmorris is offline  
Old 01-03-2012, 10:42 AM   #4 (permalink)
Master Untangler
 
Big D's Avatar
 
Join Date: Nov 2008
Posts: 691
Big D is on a distinguished road
Default

In the filezilla server configuration you will find the port range used for the data transmission. Define this range and define your firewall rules. If you are using SFTP, I believe only one of the modes will work right through untangle, I forget which mode (implicit/explicit).
__________________
The beatings shall continue until morale improves!
Big D is offline  
Old 01-03-2012, 10:52 AM   #5 (permalink)
Untanglit
 
Join Date: Jul 2011
Posts: 22
Digitalexp is on a distinguished road
Default

Wow that was quick!

hlarson, Ive made those 2 rules, but im getting the same error. Heres another question, do I need IIS installed on the FTP server? I was under the impression I didn't need to install it if I was running filezilla.
Digitalexp is offline  
Old 01-03-2012, 10:54 AM   #6 (permalink)
Untanglit
 
Join Date: Jul 2011
Posts: 22
Digitalexp is on a distinguished road
Default

Quote:
Originally Posted by Big D View Post
In the filezilla server configuration you will find the port range used for the data transmission. Define this range and define your firewall rules. If you are using SFTP, I believe only one of the modes will work right through untangle, I forget which mode (implicit/explicit).

Ok, looking into this right now....stay tuned.
Digitalexp is offline  
Old 01-03-2012, 11:34 AM   #7 (permalink)
Untanglit
 
Join Date: Jul 2011
Posts: 22
Digitalexp is on a distinguished road
Default

No this did not work. I put the port ranges in within filezilla. We wont be using SFTP.
Digitalexp is offline  
Old 01-03-2012, 11:44 AM   #8 (permalink)
Untangle Ninja
 
hlarsen's Avatar
 
Join Date: Jul 2010
Location: sfba
URLs submitted: 1
Posts: 1,137
hlarsen is on a distinguished road
Default

you need one Port Forward for port 21 and another port forward for whatever PASV range your FTP server software uses. i'd turn Firewall off just to be safe when testing.

if you can FTP from the LAN then the FTP server works. try to FTP from the outside and if it doesn't work (after making the above rules), post the log from the FTP client software and screenshots from your port forward rules.
__________________
Attention: Support on the Untangle Forums is provided by volunteers and community members.
If you need official Untangle support please call or email support@untangle.com.
hlarsen is offline  
Old 01-05-2012, 04:48 AM   #9 (permalink)
Untanglit
 
Join Date: Jul 2011
Posts: 22
Digitalexp is on a distinguished road
Default

I will have the client log shortly.
Attached Images
File Type: jpg ftp.jpg (14.3 KB, 11 views)
File Type: jpg ftppasv.jpg (14.2 KB, 11 views)
Digitalexp is offline  
Old 01-05-2012, 05:22 AM   #10 (permalink)
Untanglit
 
Join Date: Jul 2011
Posts: 22
Digitalexp is on a distinguished road
Default

I have enabled filezilla logging but there is nothing in the log file.
Digitalexp is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 06:41 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2