Coder Social home page Coder Social logo

samvrlewis / meshboi Goto Github PK

View Code? Open in Web Editor NEW
126.0 126.0 18.0 92 KB

meshboi is a mesh VPN tool created for the purposes of learning and fun

Home Page: https://www.samlewis.me/2021/07/creating-mesh-vpn-tool-for-fun/

License: MIT License

Go 96.02% Shell 3.98%
mesh-networking mesh-vpn networking vpn

meshboi's People

Contributors

samvrlewis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

meshboi's Issues

Does Meshboi support advertizing/routing Mesh Node "subnets" over the Mesh?

Some Mesh VPN tools I've used (VPNCloud & Nebula) support the capability to build the "mesh"
across multiple Server Nodes (local, cloud or hybrid).

They also support "routing" a Mesh Node's subnets across the Mesh.
Does Meshboi support that capability?

This is particularly useful for Server Nodes that "host" Containers (Docker & LXD in my Use-Case). Containers
on any "Host/Server" run on non-routeable 10.x.x.x subnets.

So having any particular Server/Host configured as part of a Mesh VPN keeps the overall Mesh Config simple by
not also having to configure each and every Container.

thanks
Brian

Peers don't keep firewall ports open

meshboi currently has some logic to ensure that the peer's firewall is open for inbound connection from other meshboi peers:

_, err = conn.Write([]byte("hello"))

However, there currently is no mechanism to ensure that the firewall is kept open for the duration of the connection between the peers. This leads to firewall/s timing out the opened port and the connection between two peers dropping, if there is no traffic between the peers (for ufw this seems to happen after ~10mins or so).

Similar to the heartbeat that is sent to the rolodex, to ensure the NAT mapping stays open

_, err = c.conn.Write(b)
meshboi should also send a periodic heartbeat to all peers to ensure that its firewall ports remain open.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.