Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DNSRedirPort is the port to which we redirect dns requests. It // should probably eventually be configurable and/or dynamically // chosen DNSRedirPort = "1233" // ProxyRedirPort is the port to which we redirect proxied IPs. It // should probably eventually be configurable and/or dynamically // chosen. ProxyRedirPort = "1234" // MagicIP is an IP from the localhost range that we resolve // "teleproxy" to and intercept for convenient access to the // teleproxy api server. This enables things like `curl // teleproxy/api/tables/`. In theory this could be any arbitrary // value that is unlikely to conflict with a real world IP, but it // is also handy for it to be fixed so that we can debug even if // DNS isn't working by doing stuff like `curl // 127.254.254.254/api/...`. This value happens to be the last // value in the IPv4 localhost range. MagicIP = "127.254.254.254" )
View Source
const ( TeleproxyWorker = "TPY" TranslatorWorker = "NAT" ProxyWorker = "PXY" APIWorker = "API" BridgeWorker = "BRG" K8sBridgeWorker = "K8S" K8sPortForwardWorker = "KPF" K8sSSHWorker = "SSH" K8sApplyWorker = "KAP" DkrBridgeWorker = "DKR" DNSServerWorker = "DNS" DNSConfigWorker = "CFG" CheckReadyWorker = "RDY" SignalWorker = "SIG" )
worker names
Variables ¶
This section is empty.
Functions ¶
func RunTeleproxy ¶
RunTeleproxy is the main entry point for Teleproxy
Types ¶
Click to show internal directories.
Click to hide internal directories.