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加入ipset gfwlist 然后重定向到代理端口
iptables -t nat -I PREROUTING -p tcp -m set --match-set gfwlist dst -j REDIRECT --to-ports 3333 iptables -t nat -I OUTPUT -p tcp -m set --match-set gfwlist dst -j REDIRECT --to-ports 3333
自定义强制直连ip
如果一开始这个ip自动判断为代理,加入了gfwlist 后期我想直连,加入文件ip_force_direct.txt 但是因为这个ip已经在gfwlist里了,即使我加了逻辑,实际这个ip最终还是会被重定向
所以要强制直连,必须从gfwlist里删除
wiki里没看到 ipset 可以删除
能否增加删除功能,或有其他解决方案?
The text was updated successfully, but these errors were encountered:
这个项目并没有处理iptables/ipset的相关代码吧。 插件里的 ip_set 和 iptables/ipset 是两回事。
我的问题,wiki还不够熟悉。
Sorry, something went wrong.
No branches or pull requests
希望添加的功能
目前逻辑:
需要代理的ip加入ipset gfwlist
然后重定向到代理端口
iptables -t nat -I PREROUTING -p tcp -m set --match-set gfwlist dst -j REDIRECT --to-ports 3333
iptables -t nat -I OUTPUT -p tcp -m set --match-set gfwlist dst -j REDIRECT --to-ports 3333
自定义强制直连ip
强制直连ip
type: ip_set
args:
files:
- "./ip_force_direct.txt"
如果一开始这个ip自动判断为代理,加入了gfwlist
后期我想直连,加入文件ip_force_direct.txt
但是因为这个ip已经在gfwlist里了,即使我加了逻辑,实际这个ip最终还是会被重定向
所以要强制直连,必须从gfwlist里删除
wiki里没看到 ipset 可以删除
能否增加删除功能,或有其他解决方案?
The text was updated successfully, but these errors were encountered: