【问题标题】:How to retrieve original destination address如何检索原始目的地地址
【发布时间】:2013-02-16 21:27:11
【问题描述】:

我正在使用路由器 (OpenWRT) 中的 REDIRECT iptables 规则将某些 UDP 数据包从服务器 A 重定向到服务器 B,我需要知道如何获取原始目标地址(如代理)。

我已经找到了很多关于如何在 Linux 上使用 TProxy 和其他方法执行此操作的信息,但不幸的是我没有看到如何在 Windows 上使用它们,还有其他选择吗?

【问题讨论】:

    标签: windows sockets proxy udp iptables


    【解决方案1】:

    如果您使用REDIRECT iptables 目标,则会覆盖原始目标IP 地址。它丢失了,无法恢复。

    另外,iptables 仅在 Linux 上运行,因此您关于如何在 Windows 上执行此操作的问题没有意义。

    【讨论】:

    • 正如我所说,路由器是 linux 并使用 iptables 重定向。
    • 是的,不涉及 MS Windows。
    猜你喜欢
    • 2011-09-25
    • 2012-03-21
    • 1970-01-01
    • 1970-01-01
    • 2018-02-18
    • 2012-06-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多