quantumtunnel

package
v0.0.0-...-22616d3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tunnel

func Tunnel(server *libquantum.Endpoint, serverEntry *libquantum.Endpoint, remote *libquantum.Endpoint,
	usr_server string, privkey_file string)

Main run function server: The server to connect to and acts as one end of the tunnel serverEntry: The server listener host:port to act as entrypoint to the tunnel remote: The remote (or local) host for the tunnel traffic to be forwarded to

Types

type TunnelOptions

type TunnelOptions struct {
	ServerIP   string
	ServerPort int
	ServerUser string

	EntryIP   string
	EntryPort int

	RemoteIP   string
	RemotePort int

	PrivKey string
}

func NewTunnelOptions

func NewTunnelOptions() *TunnelOptions

func (*TunnelOptions) String

func (options *TunnelOptions) String() string

Jump to

Keyboard shortcuts

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