Giter Site home page Giter Site logo

fubuki's Introduction

fubuki

fubuki是网状结构VPN实现,类似与TincVPN的简单组网工具

当前支持的平台:

  • Windows
  • Linux
  • macOS

工作机制

它需要一台公网服务器来维持客户端节点的地址映射,节点相互P2P通信,节点之间可能因NAT受限等问题无法通信时会切换为服务端中继

使用

配置文件说明

前置依赖

Windows

需要wintun.dll(https://www.wintun.net) 与执行文件同目录或System32下,并且能以管理员权限运行

Linux & macOS

需要内核支持TUN模块, 并能以root运行

客户端命令

节点启动:

sudo ./fubuki client client-config.json

查看节点信息:

./fubuki info

或指定API地址

./fubuki info "127.0.0.1:1234"

服务端命令

服务端启动:

./fubuki server server-config.json

源码构建

安装Rust环境

Windows平台toolchain需要为MSVC

如果需要开启AES-NI指令集,添加环境变量RUSTFLAGS="-C target-cpu=native"

git clone "https://github.com/xutianyi1999/fubuki";
cd fubuki;
cargo build --release;

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.