mirror of
https://github.com/BeamMP/Docs.git
synced 2026-02-16 10:30:56 +00:00
various fixes
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
Please make sure your Router is not a 4G/5G exclusive device. If it is a hybrid device, make sure to select the cable connected adapter later in section 3 of this guide!
|
||||
|
||||
|
||||
## How to set up port forwarding.
|
||||
|
||||
Creating a port forwarding rule involves a few detailed network terms. Be prepared to write down a few notes as you go through the process.
|
||||
@@ -23,10 +22,6 @@ There are 4 major steps in this guide.
|
||||
|
||||
## A quick guide. (A more detailed guide is below)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="grid cards" markdown>
|
||||
|
||||
- :material-dns:{ .lg .middle } __Assign a static IP address to your computer or devices__
|
||||
@@ -53,9 +48,9 @@ There are 4 major steps in this guide.
|
||||
|
||||
---
|
||||
|
||||
Use a tool such as ProbablyUp to test if the rule is working.
|
||||
Use a tool such as CheckBeamMP to test if the rule is working.
|
||||
|
||||
[:octicons-arrow-right-24: Probably Up](https://probablyup.net/api)
|
||||
[:octicons-arrow-right-24: CheckBeamMP](https://check.beammp.com/api/v2/beammp/ip/port)
|
||||
|
||||
</div>
|
||||
|
||||
@@ -73,7 +68,6 @@ If you have managed to do this, please skip directly to [step 2](port-forwarding
|
||||
|
||||
#### 1.1. Find your current IP Address, Gateway and DNS servers:
|
||||
|
||||
|
||||
Before we can set up a static IP address, we need to know your current network settings.
|
||||
You are going to want to write these down, so get a notepad window ready.
|
||||
For this step, we are going to use command prompt.
|
||||
@@ -84,7 +78,7 @@ Open up a command prompt. The 3 main ways are:
|
||||
|
||||
|
||||
<figure class="image image_resized" style="width:62%;" markdown>
|
||||

|
||||

|
||||
</figure>
|
||||
|
||||
Once you are in the command prompt, run the following command:
|
||||
@@ -97,9 +91,8 @@ You will see a lot of data.
|
||||
If you have virtual or multiple network adapters, then you will see even more data.
|
||||
It is common to see many virtual adapters if you have either Hyper-V or Docker installed.
|
||||
|
||||
|
||||
<figure class="image image_resized" style="width:62%;" markdown>
|
||||

|
||||

|
||||
</figure>
|
||||
|
||||
It is recommended to use a wired network connection which will be running this server, however, it will work over a wireless connection.
|
||||
@@ -130,7 +123,7 @@ Now we need to change the settings on your network adapter in order for your PC
|
||||
|
||||
|
||||
<figure class="image image_resized" style="width:62%;" markdown>
|
||||

|
||||

|
||||
</figure>
|
||||
|
||||
You should see a list of network connections on your computer.
|
||||
@@ -138,14 +131,14 @@ If you have Hyper-V or Docker installed, there can be many.
|
||||
Look for any adapters that are not named "Hyper-V".
|
||||
|
||||
<figure class="image image_resized" style="width:62%;" markdown>
|
||||

|
||||

|
||||
</figure>
|
||||
|
||||
|
||||
Right-click on your adapter and choose properties. If `Internet Protocol Version 4` is not checked, then this is the wrong adapter. Choose a different one.
|
||||
|
||||
<figure class="image image_resized" style="width:62%;" markdown>
|
||||

|
||||

|
||||
</figure>
|
||||
|
||||
Double click on `Internet Protocol Version 4`. Change `Obtain an IP address automatically` to `Use the following IP address`.
|
||||
@@ -159,7 +152,7 @@ Alternatively, instead of using your DNS servers, you can use either the CloudFl
|
||||
|
||||
|
||||
<figure class="image image_resized" style="width:62%;" markdown>
|
||||

|
||||

|
||||
</figure>
|
||||
|
||||
Click Ok, then click Ok again, and your adapter is now changed from DHCP to static. Surf the web to make sure that you still have internet connectivity. If you do not, then change your settings back to Obtain an IP address automatically and try the next method.
|
||||
@@ -191,6 +184,7 @@ Try various combinations of admin, password, and leaving the entries blank. *Whe
|
||||
### 3. Create the forwarding rules!
|
||||
|
||||
#### 3.1. Find the forwarding section
|
||||
|
||||
Find the port forwarding section in your router web interface. Navigate around in your router by clicking the tabs or links at the top or left of each page. Most routers list the port forwarding section under Network, Advanced, or LAN. Look for the following keywords to help you find it:
|
||||
|
||||
- Port Forwarding
|
||||
@@ -200,7 +194,7 @@ Find the port forwarding section in your router web interface. Navigate around i
|
||||
- Apps & Gaming
|
||||
- Advanced Setup/Settings
|
||||
- NAT
|
||||
|
||||
|
||||
#### 3.2. Enter in the details
|
||||
|
||||
Once you find your router's port forwarding section, you are ready to enter the necessary information.
|
||||
@@ -208,7 +202,6 @@ Your router will have a place to enter the ports to be forwarded and the destina
|
||||
|
||||
BeamMP requires both UDP and TCP port 30814 (Unless you have changed this in your [ServerConfig.toml](create-a-server.md#4-configuration)).
|
||||
|
||||
|
||||
!!! info "Note"
|
||||
While the default **Port** is **30814**, you can choose any other number greater than 1024 but less than 65535, but you need to note down what you picked if it's not 30814\. You need to forward both **TCP** and **UDP**.
|
||||
</br>
|
||||
@@ -231,14 +224,14 @@ This can be done by getting your public IPv4 Address, this once again can be don
|
||||
Visit the following Link and replace "IP" with your actual IPv4 address, and the "Port" with your servers port. Be sure to leave no spaces.
|
||||
https://check.beammp.com/api/v2/beammp/ip/port
|
||||
|
||||
!!! success "status:ok"
|
||||
!!! success "status: ok"
|
||||
|
||||
If you get the output above you can now join your server!
|
||||
There are 2 ways to join, either directly with the details you entered into Probably UP, or, if your server is set to 'public', through the server-list.
|
||||
Since you are hosting a server on-premise, use 127.0.0.1 (localhost) if the Server is running on the same PC as you play, or the LAN IPv4 of the local machine that is running the server.
|
||||
|
||||
!!! failure "status:error"
|
||||
!!! failure "status: error"
|
||||
|
||||
If the connection fails entirely, your ISP could be using CGNAT (Carrier Grade Network Address Translation). For more details, please check [How to check for CGNAT?](../FAQ/How-to-check-for-CGNAT.md)
|
||||
, or open a Server Support ticket on our [Discord server](https://discord.gg/beammp) in the `#support` channel and one of our staff will get to your ticket!
|
||||
If the connection fails entirely, your ISP could be using CGNAT (Carrier Grade Network Address Translation). For more details, please check [How to check for CGNAT?](../FAQ/How-to-check-for-CGNAT.md),
|
||||
or open a Server Support ticket on our [Discord server](https://discord.gg/beammp) in the `#support` channel and one of our staff will get to your ticket!
|
||||
Should you only see TCP working and UDP failing, check Firewall and Port forwarding rules again.
|
||||
|
||||
Reference in New Issue
Block a user