############################################################################### ################################# DEVICES ################################# ############################################################################### # # A device is used by a service (ftp, telnet, or http) to specify connection # information such as which address and ports to bind to, and whether to shape # outgoing traffic. # # By default, the only device is the "Any" device, configured to bind # to all local ip addresses and to use a reasonable port range. (in # the case of ftp service) # # Host= # the address shown to clients. # # "0.0.0.0" is any local address, even # # if you have more than one. # Ports= # for ftp service, ports used for data # # transfers. *** YOU MUST FORWARD/ALLOW # # THESE PORTS IN YOUR ROUTER/FIREWALL!! # Random= # for ftp service, allocate ports in # # random order. this should almost # # always be true. # # this option might be removed in # # future versions of ioFTPD. # Bind= # internal host. if specified, # # connections are bound to this address # # instead of Host. # Global_Inbound_Bandwidth= # Limit overall inbound speeds # Global_Outbound_Bandwidth= # Limit overall outbound speeds # Client_Inbound_Bandwidth= # Limit client inbound speeds # Client_Outbound_Bandwidth= # Limit client outbound speeds # # # # Find the case that best matches your network setup: # # A) You connect directly to your ISP with either a static or dynamic # external IP address and you can see it when you look at configured # network interfaces. # Host = 0.0.0.0 # ;Bind # # B) You are behind a hardware NAT firewall (good idea!) and have a static # IP address. # Host = external-IP # Bind = 0.0.0.0 # The Bind line is required because if you don't set it ioFTPD starts up # but doesn't do anything because it's too stupid to complain or try # local addresses. # # C) You are behind a hardware NAT firewall with a dynamic IP address and # don't use a dynamic DNS service. See detailed notes below. # Host = 0.0.0.0 # ;Bind # # D) You are behind a hardware NAT firewall with a dynamic IP address and # do use a dynamic DNS service (no-ip.org, etc). # Host = my.host.com # ;Bind # # Details: # 1) ioFTPD uses the IP address found through the Host= line for PASV # connections. If you happen to be behind a router and thus have a local # IP address like 192.168.*.* using Host=0.0.0.0 will stuff your 192 addr # into the PASV response. This is clearly wrong, but so many FTPs are # misconfigured this way that FlashFXP v3+ and many other clients # automatically use the IP originally used to connect to the site when # they see this which masks the problem for most users. # 2) Case C is best handled by just giving out the bogus 192 address and # letting FTP clients deal with it... # 3) Host=name for dynamic IP address works with no-ip, etc if you avoid # the startup race condition by making sure ioFTPD starts only after # the update has been done and propigated. Hard to guarantee, but a # site rehash or the next &ConfigUpdate scheduler event will fix this # problem so it's not too bad. [Any] Host = youknow.myftp.biz ;Bind = 0.0.0.0 # Limit port range for PASV connections. If you are behind a router you # MUST forward/allow these ports for passive file transfers to work... Ports = 5421-5450 Random = True