Forwarding traffic from an AWS IP address to another IP address

0

There is a machine for which I can only set one static inbound IP address. I'd like to set up an IP address on my AWS instance that forwards to that IP address so that I can connect from multiple locations.

Can someone give me some thoughts on the best way to set this up? I know I can set up an EC2 instance and throw something like nginx on it, but I wasn't sure if there was a simpler solution on AWS. Ideally I could just request a public IP, and say "Forward to this other IP address".

Thank you

Richie

已提問 2 年前檢視次數 1706 次
1 個回答
0

I'm assuming that you're not asking about HTTP traffic - because you can do a redirect to another IP/DNS address quite easily.

Therefore, you do need to set up something (like Nginx or some other packet rewrite engine) which forwards the traffic for you. AWS doesn't offer a service that allows you to forward/rewrite IP traffic to another external destination.

You can use a load balancer to send traffic elsewhere but it only supports sending traffic to addresses within AWS or those connected to your VPC via VPN or Direct Connect.

profile pictureAWS
專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南