Saturday, November 30, 2019

linux - Reverse Proxy multiple internal FTP Servers

I have setup a reverse proxy for http using Apache mod_proxy like this:




  • Client > http:/abc.domain1.com > Reverse Proxy Server > 192.168.50.1 (Internal Server)


  • Client > http:/def.domain2.com/ > Reverse Proxy Server > 192.168.50.2 (another internal Server)





Now I want to acheive the same for FTP:




  • Client > ftp:/abc.domain1.com/ > Reverse Proxy Server > ftp:/192.168.50.1 (internal FTP Server)


  • Client > ftp:/def.domain2.com/ > Reverse Proxy Server > ftp:/192.168.50.2 (another internal FTP Server)




Both internal FTP Servers are running vsftpd. Please let me know the setup for Redhat/Centos.




Reason: I have only one public IP available.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...