在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:eycorsican/go-tun2socks开源软件地址:https://github.com/eycorsican/go-tun2socks开源编程语言:C 95.2%开源软件介绍:go-tun2socksA tun2socks implementation written in Go.
To run the tun2socks command line program, depending on OS, you may need to run it as root, create the TUN interface and/or configure IP address of the interface manually. Moreover, you should add corresponding routes to the routing table manually. Mind that you often want to use some different system DNS resolvers, and your proxy server should support UDP. To use go-tun2socks as a library in your own project, refer to the following files/repos for some ideas:
It's recommended to write your own SOCKS layer. For example, you can create a "tun2shadowsocks" program by implementing a Shadowsocks handler, see https://github.com/Jigsaw-Code/outline-go-tun2socks/tree/master/shadowsocks It's also recommended to write your own TUN layer to connect the TUN interface and go-tun2socks, see https://github.com/eycorsican/go-tun2socks/tree/master/tun for examples. The following projects are using go-tun2socks: |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论