Mark A
Cadet
- Joined
- Aug 22, 2013
- Messages
- 5
I'm having trouble getting FTP to work properly. My goal is to get this working with TLS, but one step at a time.
When I initially tried this, I was able to get local user login working without TLS. Then I moved on to TLS and failed to get it to log me in. I would get the certificate, but it would reject the login credentials. I reverted back to no encryption. After doing so, FTP with local user login still doesn't work. Everytime I try to use the two accounts I created, I get an Access Denied error message (Using WinSCP). I do successfully connect to the server, but it denies access. Anonymous access works fine.
I'm doing all testing within my network, but all ports are correctly forwarded and can verify anonymous login works over the web. Below are the settings I felt would be necessary to include in my setup. Not that they're related, but SSH works properly.
FreeNAS-9.1.0-RELEASE-x64
IP address: 192.168.1.4
Went to Storage/Volumes/View Volumes
Checked Permissions on Data (primary volume) and datasets Data\Home & Data\Media.
All are set to Owner (User): Mark, Owner (Group) ftp, 777, Unix ACLs
I rechecked the ftp group and have added two users, Mark and FTPTest
Passwords have been reset to Mark and Ftp respectively and users are not locked
Home drive for Mark is /nonexistent and FTPTest is /mnt/Data/Home/FTPTest
In FTP settings these are the settings:
Port: 21
Clients: 5
Connections: 6
Login Attempts: 10
Timeout: 600
Allow Root Login: No
Allow Anonymous Login: Yes
Path: /mnt/Data/Media
Allow Local User Login: Yes
Display Login:
Allow Transfer Resumption: Yes
Always Chroot: No
Perform Reverse DNS lookups: No
Masquerade Address:
Enable TLS: No (THough I do want this to be encrypted)
I tried different configurations of the above and still no dice. I also tried deleting the certificate on my client PC but still doesn't work. Even tried an FTP tester online. Anonymous works (as expected) but no local users.
Any help is appreciated, Thanks!
-Mark
When I initially tried this, I was able to get local user login working without TLS. Then I moved on to TLS and failed to get it to log me in. I would get the certificate, but it would reject the login credentials. I reverted back to no encryption. After doing so, FTP with local user login still doesn't work. Everytime I try to use the two accounts I created, I get an Access Denied error message (Using WinSCP). I do successfully connect to the server, but it denies access. Anonymous access works fine.
I'm doing all testing within my network, but all ports are correctly forwarded and can verify anonymous login works over the web. Below are the settings I felt would be necessary to include in my setup. Not that they're related, but SSH works properly.
FreeNAS-9.1.0-RELEASE-x64
IP address: 192.168.1.4
Went to Storage/Volumes/View Volumes
Checked Permissions on Data (primary volume) and datasets Data\Home & Data\Media.
All are set to Owner (User): Mark, Owner (Group) ftp, 777, Unix ACLs
I rechecked the ftp group and have added two users, Mark and FTPTest
Passwords have been reset to Mark and Ftp respectively and users are not locked
Home drive for Mark is /nonexistent and FTPTest is /mnt/Data/Home/FTPTest
In FTP settings these are the settings:
Port: 21
Clients: 5
Connections: 6
Login Attempts: 10
Timeout: 600
Allow Root Login: No
Allow Anonymous Login: Yes
Path: /mnt/Data/Media
Allow Local User Login: Yes
Display Login:
Allow Transfer Resumption: Yes
Always Chroot: No
Perform Reverse DNS lookups: No
Masquerade Address:
Enable TLS: No (THough I do want this to be encrypted)
I tried different configurations of the above and still no dice. I also tried deleting the certificate on my client PC but still doesn't work. Even tried an FTP tester online. Anonymous works (as expected) but no local users.
Any help is appreciated, Thanks!
-Mark