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
Click to show internal directories.
Click to hide internal directories.