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

1 Risposta
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
ESPERTO
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande