Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » ZyXEL » Need help setting up a ZyWall 5 for FTP
Search Topic:
Uniqs:
485
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Changed modem to Zyxel, lost 4mbit of speed after change. »
« ZyWALL USG 100 v2.12(AQQ.0)C0 firmware is out  
AuthorAll Replies

sparql

join:2009-07-27
Hampshire, IL

 Need help setting up a ZyWall 5 for FTP

Hello, I have a ZyWall 5 and am trying to set up an FTP server, I've never had difficulty with consumer-grade products, but this is giving me some difficulty. I suspect I'm missing something simple.

1) I created a Port Forwarding rule, where 2121 goes to 192.168.1.32 on my network

2) I created a service for 2121

3) I created a firewall rule for WAN to LAN that permits access to 2121

I've tried reading the manual with little success. I feel I have a decent understand of how this should work, but am hitting a serious roadblock.

Any help would be much appreciated. Thanks in advance!


nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
·AT&T U-Verse
·AT&T Midwest

FTP is a nasty protocol, because it uses two connections.

The first connection (the control connection) is the one you have configured. However, any file transfer or directory listing requires opening a second connect (the data connection). In passive mode, the server listens on the data connection and client connects to it. The port is arbitrary. In active mode, the client listens (arbitrary port) on the data connection, and the server connects to it. In your case, the server should use a source port of 2120 for that connection (one less than port for the control connection).

To make thinks more difficult, information on the ports to use is communicated over the control connection. Since you are using NAT, the information passed will be wrong. Any chance of getting this working will depend on the router being able to modify those packets on the fly, to correct the wrong information.

Some routers have this ability. I don't know whether the ZyWall does. But since you are using a non-standard port, the router won't recognize that this is FTP unless there is some way of configuring that fact.

If you are able to revise your plans to use http: for serving files (with a web server), or to use sftp (file transfer over an ssh channel), you will save your self a bunch of problems.
--
AT&T dsl; Speedstream 5100b modem; Zyxel NBG334W router; openSuSE 11.0; firefox 3.0.11


Brano
I hate Vogons
Premium,MVM
join:2002-06-25
Burlington, ON
·TekSavvy Solutions..


1 edit
reply to sparql
ZyWall 5 has a FTP_ALG default set on port 21.
1) Make sure FTP_ALG is enabled
2) Make sure you change the port to 2121 if you wish to run your FTP service on this non-standard port.
3) Enable port 2121 on WAN-to-LAN firewall and you're all set.

Mind, when testing from LAN side you may just want to use LAN IP of FTP server instead of WAN IP as I believe the FTP_ALG is not that smart to handle this situation.

You can enable the FTP_ALG through web interface, but you need to change the port through CLI.
Check chapter 15.1.1 for additional details »ftp://ftp.zyxel.com/ZyWALL_5_UTM/cli_r···TM_2.pdf
--
openSUSE 11.1, KDE 4.2

sparql

join:2009-07-27
Hampshire, IL

reply to nwrickert
Thank you for your reply.

I'm currently using (or trying to use) IIS for the FTP server, which if I understand correctly doesn't do sftp.

I'm willing to try something else, if sftp will end up easier to get going than ftp. Do you have a suggestion?

sparql

join:2009-07-27
Hampshire, IL

reply to Brano
@Brano

Thank you so much, your post really helped. Turns out the FTP_ALG was disabled. Once I turned it back on and set the port range to 2120 to 2121 as nwrickert suggested, it now appears to be working!

Doing that, it appears I didn't even have to change the default FTP port via the CLI.

Thank you both very much.


Brano
I hate Vogons
Premium,MVM
join:2002-06-25
Burlington, ON
Are you doing port translation on the router? From WAN:2121 to LAN:21?
In such case the FTP_ALG may just work ...depends on implementation.
--
openSUSE 11.1, KDE 4.2

sparql

join:2009-07-27
Hampshire, IL
Yes, I am doing the port translation.
-
Forums » Equipment Support » Hardware By Brand » ZyXELChanged modem to Zyxel, lost 4mbit of speed after change. »
« ZyWALL USG 100 v2.12(AQQ.0)C0 firmware is out  


Tuesday, 01-Dec 13:20:30 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [62] Baltimore To Ban Lazy Cable Installs
· [54] Broadband Killed The Game Console
· [38] Rural Carriers Quickly Embracing Fiber
· [38] Rogers Unveils The ISP Dream Model
· [35] Comcast Releasing Promised Usage Meter
· [33] AT&T Top Lobbyist Cicconi Has His Feelings Hurt
· [31] Charter Exits Chapter 11
· [24] Midcontinent Socked With Easement Lawsuit
· [16] Vivendi Agrees, Comcast/NBC Deal Soon
· [13] ACTA: Global Three Strikes
Most people now reading
· Heating - my dad gave me this advice... [Home Repair & Improvement]
· Windows 7 boot manager editing questions [Microsoft Help]
· [Rant] called out sick! [Rants, Raves, and Praise]
· Is Microsoft Technet ok to use for my family PC's? [Microsoft Help]
· [OOL] Youtube not loading [OptimumOnline]
· buying a one way ticket [General Questions]
· Fun screwing with PuG raids. [World of Warcraft]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Considering Leaving Vonage, who should I Consider? [VOIP Tech Chat]
· [Internet] Gaming problem for "Heroes of Newerth" ( New bell Upd [Bell Canada]