PDA

View Full Version : ioFTPD 5.1.14 behind Router...(Problems)


Mavke
10-18-2003, 06:04 AM
I have setup a new ioFTPD based on beta 5.1.14.
The new thing here is that the FTP is behind a router.

How can I get the Passive Transfer to work?

Internal IP : 192.168.0.1 (only 1 Network Card)
The Router has the external IP : 213.100.*
And the port is set to : 9127

I opened the Port 9127 on the Router.
But still Passive is not working, Active is working but not that good.

With Active I get regularly :
426 Connection closed: Only one usage of each socket address (protocol/network address/port)
is normally permitted.

Any help?

Jog
10-18-2003, 06:38 AM
i saw this message since 5.1.8 version ...

i resolved disconnecting from the ftp and reconnecting .. but sometimes is very annoyng!

Mavke
10-18-2003, 06:58 AM
My issue is that I want to get the "PASSIVE" Mode to work...

darkone
10-18-2003, 07:10 AM
I could see such error happening, when range of passive mode ports is too small. Reserve atleast 50ports per user online.. more = better

Mavke
10-18-2003, 07:34 AM
D1 Thanks, but how do I get the "PASSIVE" Mode working?
As that is what I am looking for...

darkone
10-18-2003, 07:52 AM
Ahh.. problems you encountered were with active mode :p Reason for those errors is badly configured receiving host (using very limited amount of ports to receive...) Anyways, nat should be configured as following:

[Nat]
Host = <internet ip/hostname> (213.x.x.x)
Ports = <from>-<to>
Bind = <local ip> (192.168.0.2)


[Ftp-service]
Device = Nat
Port = <siteport>


Forward port <siteport> and ports <from>-<to> from router to site.

Guardian
10-18-2003, 07:53 AM
In devices setup...

Host = ur external IP
Ports = ur passive/data ports (u have to open them also in ur router ... 1024-1059 fe, depends on how many users u want simultan on ur ftp)

megauser
10-18-2003, 01:46 PM
This is true with all NAT or Firewalled servers.. I have mine on an outside address, but still have to open ports because we're running a Firewall on that box as well.. to prevent little kiddies Packet crap, its annoying to have to do, but will save your bacon in the long run.

Mavke
10-19-2003, 02:49 AM
Thanks to all for helping.
I got is working now with the suggestions for D1 and the others!

THANKS!!!