Last active
March 29, 2018 04:41
-
-
Save JamieWritesCode/a44e3b7ee243e137cd5678dbdcf2c708 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install proftpd | |
sudo nano /etc/proftpd/proftpd.conf | |
# disable ipv6 | |
# update server name | |
# set default root ~ | |
# disable RequireValidShell | |
# set masqurade ip to external ip | |
# enable passive ports | |
sudo service proftpd restart | |
sudo ufw allow ftp 49152:65534/tcp | |
sudo useradd USERNAME | |
sudo passwd USERNAME | |
# enter PASSWORD | |
sudo chown USERNAME:USERNAME /PATH/TO/HOME | |
sudo usermod -m -d /PATH/TO/HOME USERNAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment