Code Monkey home page Code Monkey logo

Comments (4)

rampageX avatar rampageX commented on May 28, 2024

发现去掉 -R 参数,就正常了,是设计如此?

from ipt2socks.

rampageX avatar rampageX commented on May 28, 2024

把这两行注释了就可以了,会有什么副作用?目前用起来暂时没感觉有问题。

            case 'R':
                g_options |= OPT_TCP_USE_REDIRECT;
                //strcpy(g_bind_ipstr4, IP4STR_WILDCARD);
                //strcpy(g_bind_ipstr6, IP6STR_WILDCARD);

from ipt2socks.

zfl9 avatar zfl9 commented on May 28, 2024

是的,设计如此。主要是因为我用ipt2socks都是为了做代理网关(给内网其它机器提供透明代理),而使用REDIRECT的话,如果不监听0.0.0.0,内网其它机器是无法使用这个透明代理的。所以做了这个处理。如果要覆盖此行为,不必修改源代码,只需要把-R放在-b选项之前就行了。

from ipt2socks.

rampageX avatar rampageX commented on May 28, 2024

@zfl9 收到!谢谢!

from ipt2socks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.