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回答
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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ