EdgeVPN

Mar 1, 2024 | Blockchain


logo

Create Decentralized private networks

license GitHub Issues Made with Go Go Report Card

Fully Decentralized. Immutable. Portable. Easy to use Statically compiled VPN and reverse proxy over p2p.

What is EdgeVPN?

EdgeVPN harnesses the power of libp2p to create private decentralized networks, allowing secure communications via shared secrets amongst peers. Here are some cool things you can do with EdgeVPN:

  • Create a VPN: Establish secure connections between peers, automatically managing IP assignments.
  • Act as a Reverse Proxy: Share TCP services with peers without needing a full VPN setup.
  • Send Files Securely: Transfer files between nodes directly via p2p.
  • Library Usage: Easily integrate distributed p2p ledger capabilities into your Golang applications!

Installation Guide

Ready to give it a shot? Follow these steps to get EdgeVPN up and running:

  1. Download the precompiled static release from the releases page.
  2. Choose to install it on your system or simply run it as is.

Using EdgeVPN

Using EdgeVPN is like orchestrating a well-coordinated team. Just like in a relay race, each runner (or peer) needs to be aware of the baton (token) that allows them to seamlessly pass through from one stage to the next. Here’s how you can use it:

Here’s a breakdown of the commands you’ll run:


# Generate a new config file
$ edgevpn -g config.yaml

# Or create a portable token
$ EDGEVPNTOKEN=$(edgevpn -g -b)

# Start VPN on Node A
$ EDGEVPNTOKEN=.. edgevpn --address 10.1.0.1124

# Start VPN on Node B
$ EDGEVPNTOKEN=.. edgevpn --address 10.1.0.1224

Remember, your token is like a VIP pass. Keep it safe!

Troubleshooting

If you encounter any hiccups during the setup, don’t panic! Here are some common issues:

  • If you see messages like failed to negotiate stream multiplexer: context deadline exceeded, or similar warnings, this might indicate network latency issues.
  • For poor network performance, try increasing the maximum buffer size using the command:
  •     sysctl -w net.core.rmem_max=2500000
        

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Conclusion

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox