Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


How to detect a client is behind firewall?

This topic is 6476 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Trial and error.. try to connect to them, and if you fail they''re most probably behind a firewall of some kind.
Of course you could also let the users specify whether they''re behind one, but users are generally the most unreliable part of the system


Sanity is the trademark of a weak mind.

Share this post

Link to post
Share on other sites
If the ip address according to the client is different than the ip address acording to your connection, then they''re behind a NAT (which means a firewall of some kind is there). That could prevent someone from the internet initiating a connection to thier computer.

Magmai Kai Holmlor
- The disgruntled & disillusioned

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!