We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于两节透明代理,例子当中很关键的一部分在于,网关本身不做“路由”,即网关和网内设施在同一个网络内,如下图所示。
由于我个人的需求,服务器集群当中有一台较弱的机器充当网关,这时这台机器拥有出口IP和内网IP,如下图所示。
在这个情况下,在使用TPROXY代理的时候,只需要在mangle和nat表中各增加一个出口IP直通规则即可。
iptables -t nat -A V2RAY -d 1.2.3.4/32 -j RETURN iptables -t mangle -A V2RAY_MASK -d 1.2.3.4/32 -j RETURN
不过由于拓扑的不同,所以我就没有对原文进行更改。
The text was updated successfully, but these errors were encountered:
可以考虑PR成一个单独的页面 不覆盖原有内容。
Sorry, something went wrong.
No branches or pull requests
关于两节透明代理,例子当中很关键的一部分在于,网关本身不做“路由”,即网关和网内设施在同一个网络内,如下图所示。
由于我个人的需求,服务器集群当中有一台较弱的机器充当网关,这时这台机器拥有出口IP和内网IP,如下图所示。
在这个情况下,在使用TPROXY代理的时候,只需要在mangle和nat表中各增加一个出口IP直通规则即可。
不过由于拓扑的不同,所以我就没有对原文进行更改。
The text was updated successfully, but these errors were encountered: