EarthNet Troubleshooting: Difference between revisions

no edit summary
(added netsh commands + note about OVPN)
No edit summary
Line 1:
=== EarthNet Port ===
'''Earth 2150''' requires the following game ports to be open and forwarded*, if they are not then you will not be able to connect to or host multiplayer games.
 
Line 4 ⟶ 5:
To Host Games: TCP/UDP 47624
 
=== EarthNet Windows Firewall Rules ===
To open ports in Windows Firewall you can execute the following commands in elevated (Run as administrator) command prompt:
 
netsh advfirewall firewall add rule name="DirectPlay_1DirectPlay_tcp_1" dir=in action=allow protocol=TCP localport=2300-2400
netsh advfirewall firewall add rule name="DirectPlay_2DirectPlay_tcp_2" dir=in action=allow protocol=TCP localport=47624
netsh advfirewall firewall add rule name="DirectPlay_3DirectPlay_udp_1" dir=in action=allow protocol=UDP localport=2300-2400
netsh advfirewall firewall add rule name="DirectPlay_4DirectPlay_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, 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 ===
You can use the following guides if you're unsure how to forward ports on your router to your PC: [https://portforward.com/router.htm '''PortForward''']
if you are struggling to host, it could be the Windows Firewall Profile is set to Public and although it should allow traffic with the above rules implemented, it doesnt. To fix, change the profile to "Private:
 
Run "'''Get-NetConnectionProfile'''" in Powershell and make note of the network name for the "'''OpenVPN Data Channel Offload'''" connection.
- - -
 
''example''
''* — 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.''
$ Get-NetConnectionProfile
Name : Network
InterfaceAlias : Ethernet or Wi-fi
Name : Network 2
InterfaceAlias : OpenVPN Data Channel Offload
 
Now run the following command ('''Set-NetConnectionProfile -Name "NETWORK NAME" -NetworkCategory Private''') to set the correct profile
 
''example''
Set-NetConnectionProfile -Name "Network 2" -NetworkCategory Private
 
==== 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.''
 
''* You can use the following guides if you're unsure how to forward ports on your router to your PC: [https://portforward.com/router.htm '''PortForward''']''
1,180

edits