Apache 使用代理设置阻止 LAN 中的 IP 地址

发布于 2024-10-10 04:14:50 字数 174 浏览 0 评论 0原文

如何阻止 LAN 网络中使用代理设置的 IP 地址。

我有一个使用 wampserver 托管在我们的 Intranet 上的应用程序。我尝试使用 apache 阻止 IP 地址,但它不起作用,因为默认情况下所有计算机都位于代理设置后面。

有没有其他方法可以阻止本地IP地址?可以用apache来做吗?

How can I block an ip addresses in LAN network which are using proxy settings.

I have an application hosted on our intranet using wampserver. I tried to block ip address using apache but its not working since all machines are by default behind proxy settings.

Is there any other way to block local ip address? Is it possible to do with apache ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

睫毛上残留的泪 2024-10-17 04:14:50

您的问题/要求不清楚。

您是否希望 Apache 拒绝通过您的代理服务器发出的任何请求,同时允许其他请求?

Your problem/requirement is not clear.

Do you want Apache to deny any request coming via your proxy server while allowing others?

云巢 2024-10-17 04:14:50

查看端口转发。在您的路由器中,您必须将您的 IP 上的所有传入请求转发到您 PC 的私有 IP。如果您的真实 IP 是动态的,您可能需要查看 dyndns 或 no-ip 等服务

Take a look at port forwarding. In your router you have to forward all the incoming requests on your IP to the private IP of your PC. If your real IP is dynamic, you might want to take a look at services such as dyndns or no-ip

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文