Documentation
¶
Overview ¶
Package proxy is a wrapper around proxyguard that integrates it with eduvpn-common settings - leaves out some options not applicable to the common integration, e.g. fwmark - integrates with eduvpn-common's logger - integrates eduvpn-common's user agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct{}
Logger is defined here such that we can update the proxyguard logger
type Proxy ¶
type Proxy struct {
proxyguard.Client
// contains filtered or unexported fields
}
Proxy is the ProxyGuard client with a channel used for restarting
func NewProxyguard ¶
func NewProxyguard(ctx context.Context, lp int, tcpsp int, peer string, setupSocket func(fd int)) (*Proxy, error)
NewProxyguard sets up proxyguard for proxied WireGuard connections
Click to show internal directories.
Click to hide internal directories.