Lidgren networking question

I’m new to the Lidgren library. I have been going through the samples
and working on client server code alongside the samples.

Everything was working fine on my machine and through my LAN. My issue
is when I try to use my WAN IP for host connections.

I receive the following message on both client and server

Received unhandled library message Ping from

I can’t seem to find anything regarding this message. As a result of
the message, I cannot process any client requests on the server and
the server eventually crashes.

I have turned off my firewall on the server. I have allowed pings on
the router, server, and client machines. I have opened all necessary
ports on the router. Now, I am out of ideas.

Any ideas at what else I should look at?

Not all routers support loopback (many don’t do)
As such its possible that you can not connect through internet to yourself, it will fail. The only way to overcome that on such routers is going out through VPN and then in again as its no longer “to yourself” technically as you started on another network thanks to VPN

I came to that conclusion as well. I wanted to confirm with someone else. Thanks dreamora.

EDIT: I had a friend connect from his home. No issues with the connection. So, that confirms what Dreamora said above along with my suspicions.