Giter VIP home page Giter VIP logo

hysteriagen's Introduction

HysteriaGen

version Contributors Forks Stargazers Issues Telegram

HysteriaGen helps you to deploy your Hysteria VPN with docker.

Hysteria is a feature-packed proxy & relay tool optimized for lossy, unstable connections (e.g. satellite networks, congested public Wi-Fi, connecting to foreign servers from China) powered by a customized protocol based on QUIC.

How it Works ?

HysteriaGen uses docker-compose to pull hysteria docker image and running it with created configuration file

After deploying it gave you client configuration & URL and QRCode to use that with your device

Requirements

For Running HysteriaGen you only need to have python3 on you server

Docker will automatically installed of it's not exist in your server

Usage

Running Program :

curl https://raw.githubusercontent.com/SonyaCore/HysteriaGen/main/hysteria.py -o /tmp/hysteria.py && python3 /tmp/hysteria.py
   _   _           _            _       _____
  | | | |         | |          (_)     |  __ \
  | |_| |_   _ ___| |_ ___ _ __ _  __ _| |  \/ ___ _ __
  |  _  | | | / __| __/ _ \ '__| |/ _` | | __ / _ \ '_ \
  | | | | |_| \__ \ ||  __/ |  | | (_| | |_\ \  __/ | | |
  \_| |_/\__, |___/\__\___|_|  |_|\__,_|\____/\___|_| |_|
          __/ |
         |___/


HysteriaGen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server Information :
Distro : Ubuntu
Kernel : Linux 5.15.0-56-generic aarch64
IP : ###
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==============================================
[1] Deploying Hysteria using docker-compose
[0] Exit the program
==============================================

Use option 1 to deploy hysteria on docker

In option [1] you have several choices

Self-signed certificate for using hysteria without a domain

Custom certificate path for using a sigend certificate and a valid domain name

Transport protocols

There are several protcols you can choice from

  1. UDP
  2. Wechat-Video
  3. FakeTcp

UDP protcol which uses port hopping , The server can then listen on port 5666, while the client connects with example.com:20000-50000.

Users in China often report that their ISPs block/restrict persistent UDP connections to a single port. Port hopping should invalidate this kind of mechanism.

Wechat-video obfuscation feature ( highly recommended in Iran )

faketcp mode that allows servers and clients to communicate using a protocol that looks like TCP but does not actually go through the system TCP stack. This tricks whatever middleboxes into thinking it’s actually TCP traffic, rendering UDP-specific restrictions useless. (only works on linux and require root privileges)

After specifying the protocol you have to set an authentication password for a password which will prompt you, pressing enter will generate a 6-character random password

After specifying the protocol you have to set an authentication method :

  1. OBFS: generating a 32-character random and using OBFS for obfuscating
  2. STRING : prompt you for password, pressing enter will generate a 6-character random password

First time use ?

Coming Soon

Donation

If this Project helped you, you can also help me by donation

tron-button   TTTo7aasobgqH5pKouCJfmPYn2KLed2RA3

bitcoin-button   bc1qgdav05s04qx99mdveuvdt76jauttcwdq687pc8

ethereum-button   0xD17dF52790f5D6Bf0b29151c7ABC4FFC4056f937

tether-button   0xD17dF52790f5D6Bf0b29151c7ABC4FFC4056f937

License

Licensed under the GPL-3 license.

hysteriagen's People

Contributors

mar-coding avatar sonyacore avatar

Stargazers

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

Watchers

 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.