Versions in this module Expand all Collapse all v3 v3.2.0 Aug 23, 2022 Changes in this version + func NewForward(targetNetwork, targetAddress string, dialTLSConfig *tls.Config) servers.Protocol + type Forward struct + DialFunc servers.DialFunc + DialTLSConfig *tls.Config + IncomingSniffer io.Writer + ListenAddress *net.TCPAddr + OutgoingSniffer io.Writer + TargetAddress string + TargetNetwork string + func (f *Forward) Handle(clientConnection net.Conn) error + func (f *Forward) SetAuthenticationMethod(_ servers.AuthenticationMethod) + func (f *Forward) SetDial(dialFunc servers.DialFunc) + func (f *Forward) SetListen(_ servers.ListenFunc) + func (f *Forward) SetListenAddress(address net.Addr) + func (f *Forward) SetSniffers(incoming, outgoing io.Writer)