Purpose
When running specific workloads on the Gala Node software, certain ports may need to be opened for it to function properly. Knowing the general concepts will allow a user to run their workloads successfully.
Assumptions Made
This article assumes the reader understands the information in the following articles:
Download the Gala Node Software
Summary
To set up port forwarding, a user must first find their machine's local IP address. A router usually assigns this address to the user's computer. Users will also need to access their router's IP address as well.
Note: Port forwarding isn't usually required for users using Virtual Private Servers or a Server Hosting Service. However, if a workload does not run, we suggest contacting the Hosting Services' Technical Support.
The instructions below will guide users on how to find these IPs:
Linux:
1) Open Terminal and enter:
ip address
This will present the computer's IPv4 address.
2) Next enter:
ip route
This will present the Default Gateway address, which gives the user the router's IP address to connect to it later in this tutorial.
Windows:
1. Open up Windows Search and type in CMD. Click it to open the program.
2. In the CMD line, type ipconfig and then press enter.
If the machine is using Ethernet, the network information will be below the Ethernet adapter.
If the machine is using Wi-Fi, the network information will be the Wireless LAN adapter.
The IPv4 address and the Default Gateway address are needed. The Default Gateway gives the user the router's IP address so they can connect to it later in this tutorial.
MacOS:
1. Open Spotlight search, type in Terminal, then click it to open it.
2. In the Terminal, enter the following commands:
If the machine is using Ethernet, type:
If the machine is using Wi-Fi, type:
Enter this command shown below to get the router's IP address.
The IP address and the Gateway address are needed. The Gateway gives the user the router's IP address so they can connect to it later in this tutorial.
Accessing the Router's Login Screen:
Open a browser, then enter the router or gateway IP. It will bring a user to a router's login screen. In this example, we use a local Internet Service Provider's router.
Login Issues Troubleshooting Tips:
If unsure where to find the router's login credentials, users would typically have three options:
1. Find the home router, check for any stickers that indicate login information, and try it.
2. Get the home router's make and model, look up its default login credentials for the specific make and model, and try it.
3. If it's a default home router provided by a local Internet Service Provider, contact their Technical Support.
The Next Steps:
NOTE: The interface may look different depending on the router, but the general steps for configuring port forwarding on the router are similar.
After signing into the router's home page, look for a section called Firewall and select it.
Look for a section called Port Forwarding. Click Port Forwarding or an option that's similar to the chosen router.
The port(s) that need to be opened are based on the workload's specific requirements. Usually, it is based on the same UDP Port specified in a workload's documentation. If the documentation does not specify that a port needs to be opened, then it means that a particular workload does not require Port Forwarding. In this example, we will use the Last Expedition workload as it requires port forwarding, and its documentation can be found here:
Setup a Last Expedition Node
The example below will be opening ports 7777 UDP. Please see the specific workload's support article to learn more about what port must be open.
LAN IP Address: Enter the IP address of the machine running the Gala Node Software. Refer to the article above to find it.
These are example ports; please refer to the Workload's official documentation.
External (WAN) Start Port: 7777
External (WAN) End Port: 7777
Internal (WAN) Start Port: 7777
Internal (WAN) End Port: 7777
Protocol: The protocol refers to the network protocol for this port. Please refer to the workload's requirements to see what UDP Port needs to be open.
Click Apply, and the Port Forwarding rule should appear successful and enabled!
A firewall port must be opened for Windows users to ensure port forwarding works. For more information, visit the article: Opening a Firewall Port in Windows.
Router Port Forwarding Options:
If unsure where to find the port forwarding settings, users can either do the following:
1. Get the home router's make and model, and look up the instructions for setting up port forwarding for the specific router.
2. If it's a default home router provided by a local Internet Service Provider, contact their Technical Support.
Note: In some cases, Internet Service Providers do not allow "Hair Pinning." Hair pinning prevents users from connecting to a server hosted on their network using the Public IP address, which limits users' ability to play or connect to workloads hosted on their network. We recommend reaching out to your local provider for further assistance.