Setting up an FTP reverse proxy server

Source: Internet
Author: User

Due to network environment restrictions, need to from the intranet (not directly connected to the outside network) to the external FTP upload, download files, only on the gateway server to set up the FTP reverse proxy (gateway server can connect the extranet and intranet, but not allow internal applications deployed on this machine).

Several scenarios were tried:

1, the use of Apache mod_proxy_ftp module, toss a bit, download can, upload no toss success, give up.

2,https://github.com/c960657/ftpproxy use of GitHub on the Open source project Ftpproxy, see the next introduction, should be able to, but its configuration file parameters too much, glanced at the official website given the configuration file

Https://github.com/c960657/ftpproxy/blob/master/ftpproxy.conf dense, suddenly not in the mood to continue

3, the use www .ftpproxy.org of ftp.proxy Open source projects, this is the simplest, use the following steps:

Ftpproxy-1.2.3.tgz.zip to prevent the official website hanging off, has been uploaded to the blog park (the garden is not allowed to upload. tgz suffix file, can only compress it again, into a. zip file, so after downloading, to extract two times)

A. after downloading, unzip to a directory, this article is:/users/jimmy/downloads/app/ftp.proxy/ftpproxy-1.2.3

B. compiling

CD ftpproxy-1.2.3 makemay give some warning, ignore (think of that classic joke: the programmer only cares about error, never care about warning) when finished, the SRC directory will generate the Ftp.proxy commandc.Start./src/ftp.proxy-d Native Idle port FTP server IP: PortFor example:./src/ftp.proxy-d 12306 12.34.56.78:21 This way, access to ftp://Gateway server ip:12306 is equivalent to access ftp://12.34.56.78:21 Note: If you want to reverse proxy multiple FTP simultaneously, Stagger the ports and start a few more ftp.proxy.

Setting up an FTP reverse proxy server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.