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 個月前檢視次數 283 次
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 個月前

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

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

回答問題指南