TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to Access Real Client IP Addresses with Proxy Protocol

2 点作者 alexellisuk超过 2 年前

1 comment

alexellisuk超过 2 年前
Hi I&#x27;m the founder of inlets (a self-hosted network tunnel that has no inherent connection &#x2F; domain or bandwidth limits) and was built to run in containers in K8s:<p>&gt; If you’ve ever run a reverse proxy, tunnel or load balancer (LB) and wondered why you saw internal IP addresses in your logs, then you’re not alone. The plaintext HTTP protocol has a number of “X-Forwarded-*” headers that covers this for proxies which decrypt traffic. But what if you’re using TLS, or TCP which works at a lower level in the Open Systems Interconnection model (OSI model)?<p>&gt; That’s where Proxy Protocol comes in.