{"id":66913,"library":"tcpproxy","title":"TCP Proxy","description":"Package tcpproxy lets users build TCP proxies, optionally making routing decisions based on HTTP/1 Host headers and the SNI hostname in TLS connections.","status":"active","version":"0.0.0-20231102063150-2862066fc2a9","language":"go","source_language":null,"source_url":null,"tags":["tcp","proxy","networking","routing"],"install":[{"cmd":"go get inet.af/tcpproxy","lang":"bash","label":"Install inet.af/tcpproxy"}],"dependencies":[],"imports":[{"symbol":"tcpproxy","correct":"inet.af/tcpproxy"}],"quickstart":{"code":"package main\n\nimport (\n\t\"inet.af/tcpproxy\"\n\t\"log\"\n)\n\nfunc main() {\n\tvar p tcpproxy.Proxy\n\tp.AddRoute(\":8080\", tcpproxy.To(\"localhost:80\"))\n\tlog.Fatal(p.Run())\n}","lang":"go","description":"Create a simple TCP proxy"},"warnings":[],"env_vars":null,"search_vec":"'base':14 'build':7 'connect':25 'decis':13 'header':18 'host':17 'hostnam':22 'http/1':16 'let':5 'make':11 'network':28 'option':10 'packag':3 'proxi':2,9,27 'rout':12,29 'sni':21 'tcp':1,8,26 'tcpproxi':4 'tls':24 'user':6","created_at":"2026-06-17T17:30:35.649717+00:00","updated_at":"2026-06-17T17:30:35.649717+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":"https://pkg.go.dev/inet.af/tcpproxy#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}