toriix

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

README

Toriix

Torii combined with modified version of smux

A simple, easy-to-use tunnel utility written in go.

Feature

  • Connection Multiplexing
  • AEAD Cipher
  • Lightweight

Download

Download binary from github release page

Build from source

Tested on Linux / Windows x86_64, Go 1.13.3 or newer

git clone github.com/ktcunreal/toriix

Install Dependencies:

go get golang.org/x/crypto/nacl/secretbox 

Build binaries:

go build -o toriix *.go 

Usage

You must synchronize the clock on both server and client machines.

Server

./toriix -m server -i "0.0.0.0:2222" -e "127.0.0.1:8123" -p "some-long-password"

or

./toriix -c /path/to/config.json

{
    "mode": "server",
    "ingress": "0.0.0.0:2222",
    "egress": "127.0.0.1:8123",
    "key": "some-long-password"
}
Client

./toriix -m client -i "0.0.0.0:1111" -e "127.0.0.1:2222" -p "some-long-password"

or

./toriix -c /path/to/config.json

{
    "mode": "client",
    "ingress": "0.0.0.0:1111",
    "egress": "127.0.0.1:2222",
    "key": "some-long-password"
}

Use a password consist of alphanumeric and symbols, at least 20 digits in length (Recommended)

Reference

https://golang.org/x/crypto/nacl/secretbox

https://github.com/xtaci/kcptun

https://gfw.report/

https://gist.github.com/clowwindy/5947691

License

GNU General Public License v3.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package smux is a multiplexing library for Golang.
Package smux is a multiplexing library for Golang.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL