Need help with go-tun2socks-mobile?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

eycorsican
148 Stars 72 Forks 15 Commits 7 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 16,093
v2ray
golang
Shell
Kotlin
15 commits

go-tun2socks-mobile

Build Status

Demo for building and using

go-tun2socks
on iOS and Android.

If you're looking for an easy to use

tun2socks
implementation for iOS, you might be interested in
leaf
and
ileaf
.
leaf
implements
tun2socks
and it's written in Rust, with significantly less memory usage and significantly better performance compares to the Go version.

Prerequisites

  • macOS (iOS)
  • Xcode (iOS)
  • SDK (Android)
  • NDK (Android)
  • make
  • Go >= 1.11
  • A C compiler (e.g.: clang, gcc)
  • gomobile (https://github.com/golang/go/wiki/Mobile)
  • Other common utilities (e.g.: git)

Build

go get -d ./...

Build an AAR

make android

Build a Framework

make ios

Both

make

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.