tssocks

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package tssocks is the glue between Tailscale and the net/socks5 package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(logf logger.Logf, e wgengine.Engine, ns *netstack.Impl) *socks5.Server

NewServer returns a new SOCKS5 server configured to dial out to Tailscale addresses.

The returned server is not yet listening. The caller must call Serve with a listener.

If ns is non-nil, it is used for dialing when needed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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