Page 1 of 1

Setting up SFS2X with ec2 instance using Amazon Linux

Posted: 06 Mar 2024, 01:09
by PatheticLion
Hi all,
Just got into building my first game with some friends and we are trying to set up SFS2X to allow us in a lobby together. I spun up an amazon free tier account and launched a t2.micro instance using Amazon Linux. I followed the instructions, and got the service started on the machine.

In AWS, I created a security group that I applied to the box.
Inbound Rules :

UDP : port 9933 | source ::/0
TCP : port 9933 | source ::/0
TCP : port 8080 | source ::/0
TCP : port 80 | source ::/0

I then navigate to http://x.x.x.x:8080 (obviously substituting x's for the real public IP) and it gives me nothing. Just "this site can't be reached". The service looks to be running fine on the box, I am obviously missing something on either end that's blocking or just straight up now allowing this connection. Anyone have an idea what I'm missing?

Re: Setting up SFS2X with ec2 instance using Amazon Linux

Posted: 06 Mar 2024, 08:10
by Lapo
Hi,
when using AWS you need to configure the so called "Security Group" which is their fancy name for a firewall :)
Check the Security Group associated with your EC2 instance and add a few inbound rules to allow traffic for the ports you've listed above.

That should fix it.
Cheers

Re: Setting up SFS2X with ec2 instance using Amazon Linux

Posted: 06 Mar 2024, 16:50
by PatheticLion
Hi Lapo - I appreciate your reply!

I have already done what you described, however. I created the security group for all the inbound rules I listed in my initial post, and applied that group directly to the ec2 instance that has SFS2X installed. I am still unable to acccess the Admin page.

Re: Setting up SFS2X with ec2 instance using Amazon Linux

Posted: 07 Mar 2024, 08:26
by Lapo
Try telnetting the server on the http port.
Example:

Code: Select all

telnet <ip-address> 8080

Do you get a connection?
(Similarly you can do the same with port 9933, to check if it's open)

Thanks