Giter VIP home page Giter VIP logo

wiregold's Introduction

WireGold-Maria

WireGold

Wire Golang Guard = WireGold

Usage

If you are running in windows, remember to select the wintun.dll of your arch in lower/wintun and place it alongside the compiled exe

It is highly recommanded to use UDPspeeder together if you are using a High-latency Lossy Link

wg [-c config.yaml] [-d|w] [-g] [-h] [-p] [-l log.txt]

Instructions

  -c string
        specify conf file (default "config.yaml")
  -d    print debug logs
  -g    generate key pair
  -h    display this help
  -l string
        write log to file (default "-")
  -p    show my publickey
  -pg
        generate preshared key
  -w    only show logs above warn level

Config file example

  • macos mojave: max mtu (under ipv4 endpoint) is 9159
  • ipv6 endpoint: the recommand mtu is 1280~1500 to prevent the big segments from being dropped
IP: 192.168.233.1
SubNet: 192.168.233.0/24
PrivateKey: 暲菉斂狧污爉窫擸紈卆帞蔩慈睠庮扝憚瞼縀
EndPoint: 0.0.0.0:56789
MTU: 1504
Mask: 0x1234567890abcdef
Peers:
  -
      IP: "192.168.233.2"
      SubNet: 192.168.233.0/24
      PublicKey: 徯萃嵾爻燸攗窍褃冔蒔犡緇袿屿組待族砇嘀
      PresharedKey: 瀸敀爅崾嘊嵜紼樴稍毯攣矐訷蟷扛嬋庩崛昀
      EndPoint: 1.2.3.4:56789
      AllowedIPs: ["192.168.233.2/32"]
      KeepAliveSeconds: 0
      QueryList: ["192.168.233.3"]
      MTU: 1400
      MTURandomRange: 128
      UseZstd: true
      QuerySeconds: 10
      AllowTrans: false
  -
      IP: "192.168.233.3"
      SubNet: 192.168.233.0/24
      PublicKey: 牢喨粷詸衭譛浾蘹櫠砙杹蟫瑳叩刋橋経挵蘀
      PresharedKey: 竅琚喫従痸告烈兇厕趭萨假蔛瀇譄施烸蝫瘀
      EndPoint: ""
      AllowedIPs: ["192.168.233.3/32"]
      MTU: 752
      KeepAliveSeconds: 0
      AllowTrans: false

wiregold's People

Contributors

butwedo avatar fumiama avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

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.