Friday, February 1, 2019

proxy - Redirect scp or ftp traffic by hostname

I have 3 servers (server1, server2 and server3) with Apache and SCP (and/or FTP server). These servers are behind a router. I have another server with a public IP used as a proxy for Apache. So, if I'm trying to access website1 (hosted on server1) my requests are proxied to server1. The same for website2 and website3.... Now, I would like to do the same thing for FTP or SCP. Is this possible? e.g.: If I install an FTP server on server1, server2 and server3, can I proxy my requests based on the hostname? ftp.website1 to the ftp server on server1 and so on.... I can also use SCP, there is no difference, and I have full access to proxy and 3 servers.

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...