/HurricaneElectricAutoIPv6TunnelCreator

HEAT is a mini tool that helps you set up a new IPv6 tunnel from Hurricane Electric.

Primary LanguageJavaScriptDo What The F*ck You Want To Public LicenseWTFPL

Contributors Forks Stargazers Issues MIT License


Logo

HEAT

The mini tool that helps you set up a new IPv6 tunnel from Hurricane Electric.

· Report Bug or Request Feature ·

Table of Contents

  1. About The Project
  2. Compatibility
  3. Getting Started
  4. Usage
  5. Roadmap
  6. Contributing
  7. License
  8. Contact
  9. Disclaimer

About The Project

Screenshot

HEAT was created to help with setting up IPv6 tunnels from Hurricane Electric. Instructions found online are not always clear or are very outdated. This tool can help you with that doing automatically as much as possible. Every option is easy to access via Text User Interface. It feels like GRUB, but for IPv6 (insert laugh sound effect).

Built With

Compatibility

This tool is compatible only with systems using systemd and ip command.

Tested and working:

  • Debian 10 Buster
  • Arch (tested on 19th July 2021 after pacman -Syu)
  • Ubuntu 20.04.1 LTS and 18.04.5 LTS
  • CentOS 8 and Stream (Stream tested on 19th July 2021 after yum update)
  • Fedora 32 and 33

Should work, but not tested:

  • Manjaro

Candidates:

  • No candidates right now.

Does not work:

  • Opensuse Tumbleweed and 15.1 - missing sit module.

Getting Started

To get a local copy up and running follow these simple steps.

First path - download prebuild

  1. Go to releases and download the latest version. Typical binary filename is HEAT-linux-amd64.

    Note: it's possibly better to copy link and download file via wget/curl, if target is a remote server.

  2. Run chmod +x HEAT-linux-amd64 to give permissions to execute.

  3. Run sudo ./HEAT-linux-amd64 and choose options using keyboard. Pasting works best using the right click on a mouse button.

Second path - build from source

  1. Make sure, that you have Node v16.4.1 installed.
  2. Clone this repository using git clone or download and unpack ZIP file.
  3. In repo's directory run npm install (or yarn), to install dependencies.
  4. Run npm run build. Binary should be generated in a couple of seconds.
  5. Copy file to target server and go to second step of the first path.

Prerequisites

This list is applicable only, if you are running/building from source directly. Binaries can be run straight after downloading.

  • Node.js v16.4.1
    nvm install 16.4.1    #using Node Version Manager here
  • Yarn (optional, installs dependencies faster than npm)
    npm i yarn -g

Usage

Use arrows to navigate in the menu. Right-click on the mouse or Ctrl+Shift+V should paste text from the clipboard.

HEAT has several modes:

  • Compatibility check - This mode checks, if system is compatible with this tool. HEAT is not limited to listed distros above, but requires some tools from system.
  • Tunnel setup - This mode asks about various things and then sets up IPv6 tunnel.
  • Tunnel setup using answer file - Like above, but more automatically. You can copy answer.json file from this repo, fill it properly and put it next to the binary. No questions will be asked.
  • Connection test - Tests, if tunnel has been set up properly. If answer.json exists, IP to test from will be suggested.
  • Updates check
  • RAM eater - If you have got too much RAM, run this option now!!!

Screenshot

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Any contributions or bug reports will be greatly appreciated.

License

Distributed under the WTFPL License. See LICENSE.md for more information.

App's icon Hot Springs created by Icons8.

Contact

Look at my GitHub profile!

Disclaimer

  • This tool modifies your network configuration. Make sure, that you have alternative ways to access your server, if working remotely.
  • Some features may not work properly or at all. Even in stable releases.