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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠