Thread: ProFTPd Connection Help
hi, i'm no expert ubuntu have set multiple ftp servers on windows , have used ubuntu while thought i'd give shot. baffled. have proftpd set in proftpd.conf, have set port 1969, passive ports of 60000 60100. have 3 three user accounts on ftp server , each when logged in has permission specific directories. working fine through lan when connect using ftp in terminal using external ip logs in fine when try this.
jawsykilla@saturn-v:~$ ftp
ftp> open xx.xxx.xxx.xxx 1969
connected xx.xxx.xxx.xxx.
220 welcome saturn-v, please authenticate!
name (xx.xxx.xxx.xxx:jawsykilla): root
331 password required root
password:
230 access granted saturn-v
remote system type unix.
using binary mode transfer files.
ftp> dir
500 illegal port command
ftp: bind: address in use
ftp>
have tried using passive mode hangs when try use port command. have tried using filezilla lets me see directories cant files. have apple airport extreme router. have forwarded ports 20, 21, 1969 , 60000 - 60100. dhcp enabled , using nat.
here proftpd.conf file.
# apply changes reload proftpd after modifications.
allowoverwrite on
authaliasonly on
# choose here user alias want !!!!
useralias root userftp
useralias koranzite rmacdonald
useralias aarondragon0 awilson
servername "saturn-v"
servertype standalone
deferwelcome on
passiveports 60000 60100
multilinerfc2228 on
defaultserver on
showsymlinks off
timeoutnotransfer 600
timeoutstalled 100
timeoutidle 2200
listoptions "-l"
requirevalidshell off
timeoutlogin 30
rootlogin off
masqueradeaddress 10.0.1.7 # using ip address
# it's better debug create log files
extendedlog /var/log/ftp.log
transferlog /var/log/xferlog
systemlog /var/log/syslog.log
#denyfilter \*.*/
# don't choose use /etc/ftpusers file (set inside users want ban, not useful me)
useftpusers off
# allow restart download
allowstorerestart on
# port 21 standard ftp port, may prefer use port security reasons (choose here port want)
port 1969
# prevent dos attacks, set maximum number of child processes
# 30. if need allow more 30 concurrent connections
# @ once, increase value. note works
# in standalone mode, in inetd mode should use inetd server
# allows limit maximum number of processes per service
# (such xinetd)
maxinstances 8
# set user , group server runs at.
user nobody
group nogroup
# umask 022 standard umask prevent new files , dirs
# (second parm) being group , world writable.
umask 022 022
persistentpasswd off
maxclients 8
maxclientsperhost 8
maxclientsperuser 8
maxhostsperuser 8
# display message after successful login
accessgrantmsg "access granted saturn-v"
# message displayed each access or not
serverident on "welcome saturn-v, please authenticate!"
# set /home/ftp-shared directory home directory
defaultroot /home/ftp-shared
# lock users in home directory, ***** important *****
defaultroot ~
maxloginattempts 5
#valid logins
<limit login>
allowuser userftp
allowuser rmacdonald
allowuser awilson
denyall
</limit>
<directory /home/ftp-shared>
umask 022 022
allowoverwrite off
<limit mkd stor dele xmkd rnrf rnto rmd xrmd>
denyall
</limit>
</directory>
<directory /home/ftp-shared/aaron/>
allowoverwrite on
<limit all>
order allow,deny
allowuser awilson
allowuser userftp
deny all
</limit>
</directory>
<directory /home/ftp-shared/ryan/>
allowoverwrite on
<limit all>
order allow,deny
allowuser rmacdonald
allowuser userftp
deny all
</limit>
</directory>
<directory /home/ftp-shared/jawsykilla/>
allowoverwrite on
<limit all>
order allow,deny
allowuser userftp
deny all
</limit>
</directory>
<directory /home/ftp-shared/download/*>
umask 022 022
allowoverwrite off
<limit mkd stor dele xmkd rnef rnto rmd xrmd>
denyall
</limit>
</directory>
<directory /home/ftp-shared/upload/>
umask 022 022
allowoverwrite on
<limit read rmd dele>
denyall
</limit>
<limit stor cwd mkd>
allowall
</limit>
</directory>
anyone?
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] ProFTPd Connection Help
Ubuntu
Comments
Post a Comment