I am trying to run a proftpd server on a SuSE Linux 7.3 system behind a NAT
router. The router is the property of my ISP and its port-configuration
cannot easily be changed. The TCP ports 21 and 53 and the UDP port 53 are
translated to the address 192.168.1.4 on my LAN. I have set up eth0:0 to be
192.168.1.4 on the proftpd system, and I can access the proftpd server from
within the LAN.
The proftpd server answers the address ftp.mydomain.dk, where 'mydomain' is
my registered domain name, when I access the ftp server from within the
LAN. I cannot access the proftpd server from the outside, however. I think
this is about the active/passive ftp problem, but this is my first attempt
to set up an ftp server, so I am not skilled in error-finding/correction
with ftp servers. How do I go about this?
It should be possible to run an ftp server with the Internet product I use.
I know that others are doing it.
Here is my /etc/proftpd.conf:
--------------------
ServerName "powered by SuSE Linux"
ServerType standalone
ServerAdmin ftpadm@davidlist.dk
MasqueradeAddress ftp.davidlist.dk
ServerIdent on "FTP Server ready"
DeferWelcome off
DefaultServer on
AuthPAM on
AuthPAMAuthoritative on
AuthPAMConfig proftpd
Port 21
Umask 022
User nobody
Group nogroup