First of all, I am new to openSUSE. Did not have a Windows license for my school laptop that I bought for a hefty $50, so I figured I’ll just install a linux distro, as we did the linux/lubuntu basics in high school in Finland.
Before reading this heresy of a Konsole history file, please note that I am new to Linux. Regarding vsftpd.conf changes, I’ve tried connect_from_port_20=YES I’ve tried this with ports 21 and 22 aswell.
So, I am trying to setup an VSFTPD service to latest openSUSE Tumbleweed (15.2 I believe?), but Windows’ FileZilla just won’t connect to it. Windows-side, I’ve enabled ports 20,21,22 for usage with no help. Also tried to connect without a firewall. Here is my history from Konsole in openSUSE, related to my project:
And welcome to openSUSE.
You might find that once you learn about the features openSUSE provides, your experience will be easier than what you remember in Lubuntu.
The first thing to know about openSUSE is that we don’t have a strict policy forbidding the use of “su” in fact unless you enjoy typing “sudo” over and over again for each command, you can simply open a console, switch to persistent elevated permissions by executing a “su” or some would prefer a “su -” which does more than elevate permissions but also resets your user environment to root, then do your work by just executing commands until you’re done, then close the console or you can “su username” to return to your normal User console.
The next thing you should be aware of is that for most “server” apps like FTP plus a great many other scenaros, there is a YaST module which will guide you to configure and set up a simple, standard configureation. In the case of FTP, this will mean that FTP will not have its own User database or point to unusual locations, the FTP directores will be standard (IIRC /srv/ftp/) and will support either Anonymous or the system’s User accounts.
At various time just installing vsftpd would also install the YaST FTP module. If you don’t see it, you can install it with the following command
zypper install yast2-ftp-server
BTW - openSUSE supports several FTP apps, IIRC the YaST FTP module supports vsftpd and proftpd.
I don’t think you are trying to set up something more complicated, but if you are then the vsftpd documentation that’s inat’s installed on your machine is good.
Also, if you aren’t aware of the difference between Active and PASV FTP, read up on that. Your server configuration, firewall configuration and choice of client all need to match one of the two modes… Active is simplest (ports 21, 20) and if you choose instead to configure PASV can be a bit of an advanture.
And just addingg my own SOP
Use a command line fTP client for first setups, in general it supports only Active FTP which ensures you don’t have a mode and ports mis-match. And this should apply whether your client is a MSWindows machine or a Linux machine.
Set up Anonymous authentication first.
After the above,
Then you can step by step modify the complexity by adding PASV support if you wish, and User (non-anonymous) authentication which often involve only a change in the configuration file or running the YaST FTP module again.