[Solved] conflicting address
Posted: Sun Feb 10, 2019 5:46 am
I have a server running 2 headless instances. The one I'm having trouble with is public, on port 34197. I can connect to this instance from the internet directly with the IP address and port, but when using the public server browser it says unable to connect.
The log suggests a possible NAT issue.. here is a snip
2.077 Info ServerRouter.cpp:596: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
2.103 Info UDPSocket.cpp:39: Opening socket for broadcast
2.123 Error InterruptibleStdioStream.cpp:54: Reading stdin failed
2.261 Warning ServerRouter.cpp:487: Received own adddress message reply with conflicting address (got IP ADDR:({47.223.149.44:12127}), expected IP ADDR:({47.223.149.44:4749}))
2.261 Warning ServerMultiplayerManager.cpp:592: Determining own address has failed. Best guess: IP ADDR:({47.223.149.44:4749})
I dont know where it is getting 12127 or 4749. The IP address is right, but the port should be 34197.
I use pfsense and am forwarding the port using NAT.
Here is the NAT config:
<source>
<any></any>
</source>
<destination>
<network>wanip</network>
<port>34197</port>
</destination>
<protocol>udp</protocol>
<target>192.168.1.20</target>
<local-port>34197</local-port>
<interface>wan</interface>
And firewall rule:
<source><any></any></source>
<interface>wan</interface>
<protocol>udp</protocol>
<destination>
<address>192.168.1.20</address>
<port>34197</port>
</destination>
The WAN interface has only 1 IP address
Any ideas?
The log suggests a possible NAT issue.. here is a snip
2.077 Info ServerRouter.cpp:596: Asking pingpong servers (pingpong1.factorio.com:34197, pingpong2.factorio.com:34197) for own address
2.103 Info UDPSocket.cpp:39: Opening socket for broadcast
2.123 Error InterruptibleStdioStream.cpp:54: Reading stdin failed
2.261 Warning ServerRouter.cpp:487: Received own adddress message reply with conflicting address (got IP ADDR:({47.223.149.44:12127}), expected IP ADDR:({47.223.149.44:4749}))
2.261 Warning ServerMultiplayerManager.cpp:592: Determining own address has failed. Best guess: IP ADDR:({47.223.149.44:4749})
I dont know where it is getting 12127 or 4749. The IP address is right, but the port should be 34197.
I use pfsense and am forwarding the port using NAT.
Here is the NAT config:
<source>
<any></any>
</source>
<destination>
<network>wanip</network>
<port>34197</port>
</destination>
<protocol>udp</protocol>
<target>192.168.1.20</target>
<local-port>34197</local-port>
<interface>wan</interface>
And firewall rule:
<source><any></any></source>
<interface>wan</interface>
<protocol>udp</protocol>
<destination>
<address>192.168.1.20</address>
<port>34197</port>
</destination>
The WAN interface has only 1 IP address
Any ideas?