qtun

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 4 Imported by: 0

README

qtun

A tcp proxy over quic.

Travis Go Report Card image image

Usage

Cmd

Usage of ./qtun:
  -S    server mode
  -ck string
        client key file path (default "../certs/client.key")
  -cp string
        client pem file path (default "../certs/client.pem")
  -from string
        from address (default ":1987")
  -sk string
        server key file path (default "../certs/server.key")
  -sp string
        server pem file path (default "../certs/server.pem")
  -t int
        connection timeout in seconds (default 30)
  -to string
        to address (default ":1080")

Docker

Run client
docker run -d --name qtun-client -p 1987:1987 netbyte/qtun -from=:1987 -to=SERVER_IP:1988 -ck=/app/certs/client.key -cp=/app/certs/client.pem -sk=/app/certs/server.key -sp=/app/certs/server.pem
Run server
docker run -d --name qtun-server -p 1988:1988/udp netbyte/qtun -S -from=:1988 -to=DST_IP:DST_PORT -ck=/app/certs/client.key -cp=/app/certs/client.pem -sk=/app/certs/server.key -sp=/app/certs/server.pem

Setting on linux

It is recommended to increase the maximum buffer size by running:

sysctl -w net.core.rmem_max=2500000

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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