Re: HOWTO : Create a FTP server with user access (proftpd)
Ei, I have figured out!
I'm a complete newbie, but i figured that ubuntu comes with a built in firewall (iptables), have start to read some tutorials and understanding chains and policies. but in the mean time i fount out that firestarter is a frontend to configure iptables, so i've manage to allow ftp / ssh.
I'm gonna need to understand better iptables for the future, so do you know a good tutorial or documentation?
I just cant access from an external IP to the server. Any Info ?
Thank You
Re: HOWTO : Create a FTP server with user access (proftpd)
Re: HOWTO : Create a FTP server with user access (proftpd)
Ye great howto, i've manage to open the ports already. But i cant get people from outside my local network to connect to the ftp server.
I've read something about passive and active ftp server . But couldnt get any configuration to solve the problem.
Can you help me in this issue?
Thank you so much
Re: HOWTO : Create a FTP server with user access (proftpd)
Read in the iptables tutorial thread from post 169, you will see a user who managed to get all working with passive connections although passive FTP is not mandatory.
Are you using a router ?
Re: HOWTO : Create a FTP server with user access (proftpd)
Quote:
Originally Posted by
frodon
Read in the iptables tutorial thread from post 169, you will see a user who managed to get all working with passive connections although passive FTP is not mandatory.
Are you using a router ?
yes i am :s
Re: HOWTO : Create a FTP server with user access (proftpd)
Ok so i trongly advice you to read this post in details :
http://ubuntuforums.org/showpost.php...2&postcount=81
It explains the steps to follow to get FTP server working through a router on the FTP server config side and on the router side too.
Hope it will answer your questions.
Re: HOWTO : Create a FTP server with user access (proftpd)
Re: HOWTO : Create a FTP server with user access (proftpd)
Quote:
Originally Posted by
frodon
Read in the iptables tutorial thread from post 169, you will see a user who managed to get all working with passive connections although passive FTP is not mandatory.
Are you using a router ?
gonna test and will be back with the result ;)
Re: HOWTO : Create a FTP server with user access (proftpd)
Still the same, i used the config provided by that post. got me this error while restarting the service :
Code:
- warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.
And whats the functionality of MasqueradeAddress ?
And what this comments means ?
Code:
# These ports should be safe...
PassivePorts 60000 65535
What im missing ? :(
Re: HOWTO : Create a FTP server with user access (proftpd)
MasqueradeAddress is mandatory when using a router, here you must put either your domain name or the IP of the router.
PassivePorts command allows to define accurately what port to use if in passive mode.