Using EC2 for hiding my home public IP when hosting a game server

1

Hello,

I'm hosting a game server from my spare laptop at home and I'm trying to use an EC2 instance to proxy from my home public IP and route it through the EC2 IP so I don't reveal my home public IP to the masses.

I'm stuck on getting the traffic through the proxy. I have the correct port open in the inbound rules via my home router and in the AWS security groups and I can successfully run the game server natively using my exposed public IP and the corresponding port so I know that's setup is correct.

I think where I'm getting stuck is the sslh requirements where I have to edit the file in nano via the terminal (I'm using PuTTy to ssh into the server).

I've found an article on how to sort of set it up but it's about 3 years old and might be inaccurate now.

If anyone has done this successfully or knows of an article they can point me to for assistance that would be much appreciated.

Thanks!

3 Answers
0

Hello J,

In order to make that Work you are looking for a DNAT "Destination NAT", In order to achieve that you will need to launch a NAT instance. Also Dont Forget after configuration the instance you will need to Disable source/destination checks https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html#EIP_Disable_SrcDestCheck

Here is the Steps: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html

AWS
Shmosa
answered 4 months ago
  • Thanks so much :D

0

Hello.

I think it is possible to connect to a remote host and edit files by port forwarding using the Systems Manager Session Manager function as shown in the document below.
https://aws.amazon.com/jp/blogs/mt/use-port-forwarding-in-aws-systems-manager-session-manager-to-connect-to-remote-hosts/

profile picture
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed a month ago
0

Thanks for your response.

That info seems more than what I am looking for. I just want to route the traffic from my laptop that is hosting the game server, through the EC2 instance, so that the EC2's public IP is displayed and not my personal home public IP.

I've terminated the instance and going to try again from the beginning.

J
answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions