Skip to content
New issue

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

版本问题 #28

Open
dhp5 opened this issue Nov 7, 2024 · 1 comment
Open

版本问题 #28

dhp5 opened this issue Nov 7, 2024 · 1 comment

Comments

@dhp5
Copy link

dhp5 commented Nov 7, 2024

你好,我使用Xcode16,Tun2SocksKit4.7.6版本。在ios17.6.1版本使用没有问题,但是在ios16.7.10版本不能进行转发。请问有人遇到这个问题了么?

@dhp5
Copy link
Author

dhp5 commented Nov 8, 2024

这是我的代码

    func startTun2socks(){
        let socks5Config = """
        tunnel:
            mtu: 1500
        
        socks5:
            port: 10808
            address: 127.0.0.1
            udp: 'udp'
        
        misc:
            task-stack-size: 20480
            connect-timeout: 5000
            read-write-timeout: 60000
            log-file: stderr
            log-level: debug
            limit-nofile: 65535
                    
        """
        Tun2SocksKit.Socks5Tunnel.run(withConfig: .string(content: socks5Config)) { code in
            os_log("启动的code:\(code)")
        }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant