Documentation ¶
Index ¶
- func CommandService(s *netceptor.Netceptor, service string, tlscfg *tls.Config, command string)
- func TCPProxyServiceInbound(s *netceptor.Netceptor, host string, port int, tlsServer *tls.Config, ...) error
- func TCPProxyServiceOutbound(s *netceptor.Netceptor, service string, tlsServer *tls.Config, address string, ...) error
- func UDPProxyServiceInbound(s *netceptor.Netceptor, host string, port int, node string, service string) error
- func UDPProxyServiceOutbound(s *netceptor.Netceptor, service string, address string) error
- func UnixProxyServiceInbound(s *netceptor.Netceptor, filename string, permissions os.FileMode, node string, ...) error
- func UnixProxyServiceOutbound(s *netceptor.Netceptor, service string, tlscfg *tls.Config, filename string) error
- type IPRouterService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandService ¶
CommandService listens on the Receptor network and runs a local command.
func TCPProxyServiceInbound ¶
func TCPProxyServiceInbound(s *netceptor.Netceptor, host string, port int, tlsServer *tls.Config, node string, rservice string, tlsClient *tls.Config, ) error
TCPProxyServiceInbound listens on a TCP port and forwards the connection over the Receptor network.
func TCPProxyServiceOutbound ¶
func TCPProxyServiceOutbound(s *netceptor.Netceptor, service string, tlsServer *tls.Config, address string, tlsClient *tls.Config, ) error
TCPProxyServiceOutbound listens on the Receptor network and forwards the connection via TCP.
func UDPProxyServiceInbound ¶
func UDPProxyServiceInbound(s *netceptor.Netceptor, host string, port int, node string, service string) error
UDPProxyServiceInbound listens on a UDP port and forwards packets to a remote Receptor service.
func UDPProxyServiceOutbound ¶
UDPProxyServiceOutbound listens on the Receptor network and forwards packets via UDP.
Types ¶
type IPRouterService ¶
type IPRouterService struct {
// contains filtered or unexported fields
}
IPRouterService is an IP router service.
func NewIPRouter ¶
func NewIPRouter(nc *netceptor.Netceptor, networkName string, tunInterface string, localNet string, routes string, ) (*IPRouterService, error)
NewIPRouter creates a new IP router service.
Click to show internal directories.
Click to hide internal directories.