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!

J
已提问 5 个月前288 查看次数
3 回答
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
已回答 5 个月前
  • 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
专家
已回答 5 个月前
profile picture
专家
已审核 2 个月前
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
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则