I have hosted a Conan private server before back when the game was in EA, and thought I’d give it another try, however am running into an issue this time. I am able to successfully play on my server over LAN, but any attempt to play over the public IP will fail. Port forwarding of 7777/7778/27015 is all correct and I even went as far as to take a packet capture on both sides to verify that every packet successfully reaches both the client and server. The log in the game client is showing the following during attempted connection:
[2018.05.12-20.41.53:574][992]LogNet: UPendingNetGame::InitNetDriver: Sending hello. [UNetConnection] RemoteAddr: (my public ip):7777, Name: SteamNetConnection_1, Driver: PendingNetDriver SteamNetDriver_1, IsServer: NO, PC: NULL, Owner: NULL
[2018.05.12-20.41.53:597][996]LogHandshake: SendChallengeResponse. Timestamp: 5292.715820, Cookie: 243191085070154230066092032040043084009074086172067192185015
[2018.05.12-20.41.54:646][181]LogNet:Warning: Incoming ip address doesn't match expected server address: Actual: 192.168.1.20:7777 Expected:(my public ip):7777
...repeats
[2018.05.12-20.42.23:187][239]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: (my public ip):7777, Name: SteamNetConnection_1, Driver: PendingNetDriver SteamNetDriver_1, IsServer: NO, PC: NULL, Owner: NULL, Channels: 1, Time: 2018.05.12-20.42.23
The game just fails saying it timed out trying to connect to the server. I thought this log line was odd because a server normally wouldn’t know what its public IP is in most network configurations. I didn’t see any mention of needing to put your public IP or dynamic DNS name into any of the config files in order to host a server so am wondering if I am missing something here that is causing me to run into this issue.