\n\t\n\t\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\r\n\t\t
Here is a small guide about how to setup most popular FTP servers on linux for site-to-site transfers ( FXP ).
\n\nProFTPD FTP server:
\nConfig file: /etc/proftpd.conf
\nAdd “AllowForeignAddress on” in the Global sections of the configuration file.
vsftpd FTP server:
\nConfig file: /etc/vsftpd/vsftpd.conf
Add lines to config:
\n\npasv_promiscuous=YES
\nport_promiscuous=YES
wu-ftpd FTP server:
\nConfig file to edit: /etc/ftpaccess
Dirrectives in config:
\n\nport-allow {ArbitraryClassName} {HostAddrs}
\npasv-allow {ArbitraryClassName} {HostAddrs}
If you want to allow FXP for everyone just use predefined class “all”:
\n\nport-allow all 0.0.0.0/0
\npasv-allow all 0.0.0.0/0
If you want to give FXP to clients from some addresses only you have to create new class for them first:
\n\nclass {ArbitraryClassName} {AccessTypes} {HostAddrs} [HostAddrs]
\nExample:
\nclass fxpclass real,guest,anonymous *.domain.com *.anotherdomain.com
\nclass all real,guest,anonymous *
This will define a new class “fxpclass”. Make sure you have put this definition before the class “all” definition.
\nNow you can use the new class in FXP options:
\n\n"],"excerpt":[0,"port-allow fxpclass 0.0.0.0/0
\npasv-allow fxpclass 0.0.0.0/0
Here is a small guide about how to setup most popular FTP servers on linux for site-to-site transfers ( FXP ).
\n"],"author":[0,35],"categories":[1,[[0,32],[0,33],[0,116]]],"featured_media":[0,0],"tags":[1,[[0,78],[0,135],[0,133],[0,124],[0,49]]],"meta":[0,{"likes":[0,0],"dislikes":[0,0]}]}]}" renderer-url="/_astro/client.DpFwxFDL.js" uid="ZQ9amK">Was this page helpful?