1

[ubuntu] URL-traffic redirect to multiple internal IPs

view story
linux-howto

http://ubuntuforums.org – THE SETUP: I have an Ubuntu server of Amazon's EC2 with public IP of (ex.) 123.45.67.89 I have set up OpenVPN so that all incoming traffic passes from my public IP through the EC2 server to a local server hosted at an internal IP address of: 10.8.0.1. This local server ALWAYS connects to OpenVPN with the same internal IP. I also connect a second local server to OpenVPN with a static internal IP of 10.8.0.2. THE CHALLENGE With the current configuration, all internet traffic coming to the public IP is re-directed only to the internal IP 10.8.0.1. However, I have 2 URL domain names (ex. my (Hardware)