Easiest way would be to just have your chat server accept a parameter for the network it is on, and compare the IP address of incoming connections, rejecting those that don't match.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.