Search

Configuring The Game Client And Firewalls: How To Set Up A Realm Crafter Server On AWS Lightsail Hosting- Pt 4 title image

Configuring The Game Client And Firewalls: How To Set Up A Realm Crafter Server On AWS Lightsail Hosting- Pt 4

You uploaded the Realm Crafter Server to your remote AWS Lightsail host and successfully ran and unlocked the Realm Crafter Server.  Now you are ready to open up firewalls so clients can connect to your Realm Crafter world.

Configure The Game Client And Firewalls

In order for the Game Client to be able to connect to the Game Server, we need to open firewall access on both the AWS Lightsail service and the virtual Windows Server.  We also have to set the Game Client to connect to the proper IP address and port.

Configure The Realm Crafter Client To Connect To The Game Server

how to set up realm crafter server on azure part 4 configuring the game client

  1. Open the GUE.
  2. Go to the Other Tab.
  3. Enter the public IP address for your remote host (the same number you use to connect by remote desktop).
  4. Close the GUE to save changes.

Next, we need to adjust the firewall settings on the AWS Lightsail service and the remote server.
 

Open Up The Firewall On AWS Lightsail

Installing The Realm Crafter Support Files How to Set Up A Realm Crafter Server On AWS Lightsail Hosting Pt 4 configuring the game client and firewalls

The Realm Crafter Game Client has been set to look for the Game Server at a specific IP address and a specific port.

We need to open up the firewalls to allow these connections.

Open Up The Port For TCP Connections

From the AWS Lightsail Home screen:

  1. Choose your Virtual Server.

In the Networking tab:

  1. Click Add Rule.
  2. Set Application to Custom.
  3. Set the Protocol to TCP.
  4. Set port to 25000 (the Realm Crafter default, otherwise enter your custom port).
  5. Click Create.

Next, set up another rule to allow UDP connections.

Open Up The Port For UDP Connections

Repeat the process above to add another inbound port rule, keeping all the settings as before but choosing UDP instead of TCP.

Still in the Networking tab:

  1. Click Add Rule.
  2. Set Application to Custom.
  3. Set the Protocol to TCP.
  4. Set port to 25000 (the Realm Crafter default, otherwise enter your custom port).
  5. Click Create.

We are now open to outside connections on our Realm Crafter Server port.

Next, we need to set up the firewall on the virtual server itself.

Open Up The Firewall On Remote Windows Server

how to set up realm crafter server on azure part 4 configuring the game client and opening windows firewall

The next step is to set up the firewall on the remote Windows Server to match.

Log in to the virtual server with Remote Desktop.

Click Start> Administrative Tools> Windows Firewall With Advanced Security

On the left side click inbound rules.

Open Up The Port For TCP Connections

On the right side click New Rule.

In the New Inbound Rule Wizard under What type of rule would you like to create:

  1. Choose port> next
  2. Choose TCP
  3. Set Specific local ports to 25000 (the RC default, otherwise use your own port number)> next
  4. Under What action should be taken:
  5. Choose Allow the connection> next
  6. Under When does the rule apply - just keep the defaults> next
  7. Change the name to RC-Server-TCP
  8. Click Finish

Next, repeat the process above for the UDP port.

Open Up The Port For UDP Connections

On the right side click New Rule.

In the New Inbound Rule Wizard under What type of rule would you like to create:

  1. Choose port> next
  2. Choose UDP
  3. Set Specific local ports to 25000 (the RC default, otherwise use your own port number)> next
  4. Under What action should be taken:
  5. Choose Allow the connection> next
  6. Under When does the rule apply - just keep the defaults> next
  7. Change the name to RC-Server-UDP
  8. Click Finish

That's it! 

Congratulations, you have configured the Game Client, set up the AWS Lightsail firewall, and set up the Windows Server firewall.

You are now ready to run the Realm Crafter Server on your virtual AWS Lightsail host and connect to it with your Realm Crafter Game Client.

Want To Make Your Own MMORPG?

You can make a game for friends and family.  With a little extra work, maybe make it a commercial enterprise.

Grab A Free Copy Of Realm Crafter Here (MakeYourOwnRPG.com Store)

 

Your Turn. What Do You Do?

Were you able to configure the Realm Crafter Game Client and open the firewalls without any problems? 

Tell me about it in the Comments Section.  I'm interested in how I can improve this article.


 

E-mail Notification Opt-in

Do you want to receive email notifications when we add new game design content?

Sign up on our private mailing list.

YES! Notify me of new game design posts!

 

Related Articles

Information

Make your own RPG in your spare time with minimal skills.

Join me on my journey to create my own RPGs to play online or share with my friends.

I'm an RPG maker and game designer who builds tabletop and electronic RPGs for fun in my spare time.

Contact me if you have questions or suggestions.