Hello,
I have problems setting up SuSEfirewall2 on a server with openSUSE 11.0 and vsftpd running.
The problem is that I didn't find out the correct configuration for FTP - I can login using a FTP client, but when I try to upload files or request a directory listing, I clash with the firewall :-(
[...]
What do I have to change in my configuration to allow FTP through the firewall?
you will have to disable the filters. The reason is comparatively simple: the ftp protocol opens a TCP connection for each file transfer, even a for a directory listing. There are two modes: PORT mode: The ftp server opens the data connection to the client, and usually uses source port 20. passive mode: The client opens the data connection to the server, ports are undetermined. If you just make sure that your system doesn't listen on ports that it doesn't need to, you should be safe without the filters. Use "netstat -anpl" and a port scanner to check.
Regards,
Christian Boltz
Thanks,
Roman.
--
- -
| Roman Drahtmüller