EarthNet Troubleshooting

KnightNet Ports
KnightShift requires the following game ports to be open and forKnightded*, 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

KnightNet 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_tcp_1" dir=in action=allow protocol=TCP localport=2300-2400 netsh advfirewall firewall add rule name="DirectPlay_tcp_2" dir=in action=allow protocol=TCP localport=47624 netsh advfirewall firewall add rule name="DirectPlay_udp_1" dir=in action=allow protocol=UDP localport=2300-2400 netsh advfirewall firewall add rule name="DirectPlay_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.

DNS unable to resolve KnightNet address
Verify that your machine can successfully resolve and ping the KnightNet address. Run the following command in command prompt (cmd): ping vpnnetserver.insideKnight.info If you are getting ''Ping request could not find host vpnnetserver.insideKnight.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:
 * setting your preferred DNS server to some reliable one, like Google's 8.8.8.8 or 8.8.4.4
 * manually changing the KnightNet server address to 10.21.0.1 (by adding new WN server in-game)
 * adding "10.21.0.1 vpnnetserver.insideKnight.info" into 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:

Run "Get-NetConnectionProfile" in Powershell and make note of the network name for the "OpenVPN Data Channel Offload" connection.

example; $ Get-NetConnectionProfile Name                    : Network InterfaceAlias          : Ethernet or Wi-fi NetworkCategory         : Private Name                    : Network 2 InterfaceAlias          : OpenVPN Data Channel Offload NetworkCategory         : Public Now run (PowerShell - run as admin) the following command (Set-NetConnectionProfile -Name "NETWORK NAME" -NetworkCategory Private) to set the correct profile

example ; Set-NetConnectionProfile -Name "Network 2" -NetworkCategory Private

result; $ Get-NetConnectionProfile Name                    : Network InterfaceAlias          : Ethernet or Wi-fi NetworkCategory         : Private Name                    : Network 2 InterfaceAlias          : OpenVPN Data Channel Offload NetworkCategory         : Private

Finally Disable upnp service (PowerShell - run as admin) ** Stop-Service -Name upnphost Set-Service -Name upnphost -StartupType Disabled

Troubleshooting Commands
View network connection profiles Get-NetConnectionProfile View OpenVPN VPN Profiles & configuration type %userprofile%\OpenVPN\config\IBG-VPN\IBG-VPN.ovpn View active firewall rules for KnightShift / Direct Play Get-NetFirewallRule -DisplayName 'Direct*' | where {$_.enabled -eq ‘true’ -AND $_.direction -eq ‘inbound’} Get-NetFirewallRule -DisplayName 'Knight*' | where {$_.enabled -eq ‘true’ -AND $_.direction -eq ‘inbound’} View registry addresses listed under KnightNet Get-ItemProperty -Path "HKCU:\SoftKnighte\Reality Pump\WorldKnightIII\BaseGame\Network\EarthNet" -Name AddressIP

Misc
* if you are using KnightNet with OpenVPN, you don't need to forKnightd 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 forKnightd ports on your router to your PC: PortForKnightd

''** While disabling UPnP can solve problems with EN, it may create them on other hand with GameRanger if you previously was able to host games. If you're planning to use this softKnighte further and you're able to host games with it, please consider make manual port forKnightd for 16000/UDP if you didn't already.''