EarthNet Troubleshooting: Difference between revisions

 
(11 intermediate revisions by the same user not shown)
Line 1:
[[File:EarthNet-Logo.jpg|thumb]]
=== EarthNet PortsConfiguration Requirements ===
 
'''Earth 2150''' requires the following game ports to be open <s>and forwarded</s>*, if they are not then you will not be able to connect to or host multiplayer games.
== EarthNet Configuration Options ==
 
=== Automatic ===
# Download and run (as admin) the relevant following PowerShell script;
## [https://raw.githubusercontent.com/InsideEarth2150/Files/main/EarthNet/Earth2150-EarthNet-Configurator.ps1 Earth2150: EarthNet Configurator]
## [https://raw.githubusercontent.com/InsideEarth2160/Files/main/EarthNet/Earth2160-EarthNet-Configurator.ps1 Earth2160: EarthNet Configurator]
 
=== Manual ===
Follow the steps below to configure:
# Windows Firewall (Ports)
# Windows Firewall (Profiles)
# DNS
 
==== EarthNet Ports ====
'''Earth 215021xx''' requires the following game ports to be open <s>and forwarded</s>*, if they are not then you will not be able to connect to or host multiplayer games.
 
To Join Games: TCP/UDP 2300-2400
To Host Games: TCP/UDP 47624
Voice Comms: UDP 6073
 
==== EarthNet Windows Firewall Rules ====
To open these ports in Windows Firewall you can executerun the following commands in elevatedPowerShell (Runrun as administratoradmin) command prompt:
 
New-NetFirewallRule -DisplayName "DirectPlay_Earth21xx_TCP" -Direction Inbound -Action Allow -Protocol TCP -LocalPort 47624,2300-2400
netsh advfirewall firewall add rule name="DirectPlay_Earth21xx_tcp_1" dir=in action=allow protocol=TCP localport=2300-2400
New-NetFirewallRule -DisplayName "DirectPlay_Earth21xx_UDP" -Direction Inbound -Action Allow -Protocol UDP -LocalPort 47624,6073,2300-2400
netsh advfirewall firewall add rule name="DirectPlay_Earth21xx_tcp_2" dir=in action=allow protocol=TCP localport=47624
netsh advfirewall firewall add rule name="DirectPlay_Earth21xx_udp_1" dir=in action=allow protocol=UDP localport=2300-2400
netsh advfirewall firewall add rule name="DirectPlay_Earth21xx_udp_2" dir=in action=allow protocol=UDP localport=47624
 
Usually it's not required if you didn't ignore initial Windows Firewall dialogs when you start multiplayer session at very first time:
Line 18 ⟶ 32:
But if you did, this should help. If you are using 3rd party complex security solution (NOD32, Avast, Kaspersky, etc), please consult corresponding documentation.
 
=== Known Issues ===
==== DNSWindows unableFirewall toProfile resolvebeing EarthNetPublic address ====
Verify that your machine can successfully resolve and ping the EarthNet address. Run the following command in command prompt (cmd):
ping vpnnetserver.insideearth.info
If you are getting ''Ping request could not find host vpnnetserver.insideearth.info. Please check the name and try again.'', then your DNS server cannot translate the name into the IP address. You can fix in either way:
* [https://www.windowscentral.com/how-change-your-pcs-dns-settings-windows-10 setting your preferred DNS server] to some reliable one, like Google's 8.8.8.8 or 8.8.4.4
* manually changing the EarthNet server address to 10.21.0.1 (by adding new EN server in-game)
* adding "10.21.0.1 vpnnetserver.insideearth.info" into [https://www.howtogeek.com/27350/beginner-geek-how-to-edit-your-hosts-file/ your hosts file]
==== Windows Firewall Profile being Public ====
If you are struggling to host or even join, it could be the Windows Firewall Profile is set to Public and although it should allow traffic with the above rules implemented, it doesn't. To fix, change the network connection profile to "Private:
 
Line 49 ⟶ 56:
Stop-Service -Name upnphost
Set-Service -Name upnphost -StartupType Disabled
=== DNS unable to resolve EarthNet address ===
 
Verify that your machine can successfully resolve and ping the EarthNet address. Run the following command in command prompt (cmd):
==== Troubleshooting Commands ====
ping vpnnetserver.insideearth.info
If you are getting ''Ping request could not find host vpnnetserver.insideearth.info. Please check the name and try again.'', then your DNS server cannot translate the name into the IP address. You can fix in either way:
* [https://www.windowscentral.com/how-change-your-pcs-dns-settings-windows-10 setting your preferred DNS server] to some reliable one, like Google's 8.8.8.8 or 8.8.4.4
* manually changing the EarthNet server address to 10.21.0.1 (by adding new EN server in-game)
* adding "10.21.0.1 vpnnetserver.insideearth.info" into [https://www.howtogeek.com/27350/beginner-geek-how-to-edit-your-hosts-file/ your hosts file]
==== Troubleshooting Commands ====
''View network connection profiles''
Get-NetConnectionProfile
''View OpenVPN VPN Profiles & configuration''
type %userprofile%\OpenVPN\config\IE-VPN\IE-VPN.ovpn
''View active firewall rules for Earth 215021xx / Direct Play''
Get-NetFirewallRule -DisplayName 'Direct*' | where {$_.enabled -eq ‘true’ -AND $_.direction -eq ‘inbound’}
Get-NetFirewallRule -DisplayName 'Earth*' | where {$_.enabled -eq ‘true’ -AND $_.direction -eq ‘inbound’}
Line 62 ⟶ 75:
Get-ItemProperty -Path "HKCU:\Software\Reality Pump\LostSouls\BaseGame\Network\EarthNet" -Name AddressIP
Get-ItemProperty -Path "HKCU:\Software\TopWare\Earth 2150\BaseGame\Network\EarthNet" -Name AddressIP
Get-ItemProperty -Path "HKCU:\Software\Reality Pump\Earth2160\Network" -Name EarthNet_ServersAddresses
 
==== Misc ====
 
''* if you are using EarthNet with '''OpenVPN''', you don't need to forward any ports on your router, you just have to make sure that your local firewall is configured properly.''
1,180

edits