Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build self-hosted P2P intermediate server like Stun(http://stun.l.goolg.com) ? #56

Open
Haoke98 opened this issue Jan 29, 2024 · 1 comment

Comments

@Haoke98
Copy link

Haoke98 commented Jan 29, 2024

The Stun(http://stun.l.goolg.com) is not very friendly( not easy to reach) to the China mainland users. Is there any better solution?

@miroslavpejic85
Copy link
Owner

miroslavpejic85 commented Feb 17, 2024

There are several open-source solutions available for building a STUN server or a similar P2P intermediary server. Here are a few options:

  1. Coturn: Coturn is a free and open-source implementation of TURN and STUN server for VoIP and WebRTC. It's widely used and supports various platforms including Linux, macOS, and Windows. Coturn provides a flexible and feature-rich solution for NAT traversal in P2P communication.

    GitHub Repository: Coturn

  2. pystun: If you prefer a solution in Python, pystun is a lightweight STUN client and server library. It's easy to use and can be integrated into your Python-based projects for handling STUN functionality.

    GitHub Repository: pystun

  3. Stuntman: Stuntman is an open-source STUN server implementation written in C. It's designed to be lightweight and efficient, suitable for embedding into other projects or running as a standalone server.

    GitHub Repository: Stuntman

  4. Node-STUN: For Node.js developers, node-stun is a STUN server implementation written in JavaScript. It's designed to be lightweight and easy to integrate into Node.js applications.

    GitHub Repository: node-stun
    Available Stun to try: public-stun

These solutions provide a good starting point for building your own STUN server or P2P intermediary server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants