holeysocks

package
v1.0.1-0...-aac0e7e Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForwardService

func ForwardService(config MainConfig) error

ForwardService implements reverse port forwarding, similar to the -R flag in openssh-client. Configuration is done in the configs/ssh.json file. NOTE The generated keys and config.json data are embedded in the binary so take the appropriate precautions when setting up the ssh server user.

Types

type MainConfig

type MainConfig struct {
	SSH   sshConfig   `json:"ssh"`
	Socks socksConfig `json:"socks"`
}

MainConfig contains SSH and Socks configuration variables

Jump to

Keyboard shortcuts

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