I have a host for which I have its public IP address. I'd like to use this public IP to redirect the FTP access to an FTP running on another host.

Example: Consider the host for which I have the public IP access has private IP and its public IP is Considering also the FTP server with private IP, I'd like to redirect the accesses to, in a way the FTP will be accessed by using the available public IP.

I tried to configure and enable httpd virtual host on host as below:

<VirtualHost *:21>
    ErrorLog /var/log/httpd/ftp_error.log
    CustomLog /var/log/httpd/ftp_requests.log combined
    LogLevel debug
    ProxyPass /
    ProxyPassReverse /

But the request to fails. Do you have any suggestion?

Thanks in advance

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.