-
Notifications
You must be signed in to change notification settings - Fork 12
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
Compile to android aarch64 #6
Comments
Hi, glad to hear that you are interested in this project Server SideAll you need to do is installing on Server first based on installation instruction, make sure you have sudo access,
git clone https://github.com/lutfailham96/go-tcp-proxy-tunnel \
&& cd go-tcp-proxy-tunnel \
&& make build \
&& sudo make install Make sure you have already running backend server, such as SSH (with password authentication option enabled) on local port: 22, then you can spin up the websocket proxy server & web server go-tcp-proxy-tunnel \
-l 127.0.0.1:8082 \
-r 127.0.0.1:22 \
-sv \
-lv 3 Run on new terminal session sudo go-ws-web-server \
-b '127.0.0.1:8082' \
-t '127.0.0.1:433' \
-sni "localhost" \
-lv 3 The server setup is completed & running Client Side (Android w/ Termux)If you are using termux, make sure you have installed pkg install git golang make Then build the binary using build command same as on Server git clone https://github.com/lutfailham96/go-tcp-proxy-tunnel \
&& cd go-tcp-proxy-tunnel \
&& make build Run the client proxy (with custom SNI: google.com), make sure you update ./go-tcp-proxy-tunnel \
-l 127.0.0.1:9999 \
-r your_server_ip:443 \
-s your_server_domain:443 \
-tls \
-dsr \
-sni google.com \
-op "GET wss://[sni] HTTP/1.1[crlf]Host: [host][crlf]Upgrade: websocket[crlf]Connection: Upgrade[crlf][crlf]" Open new terminal session & try connecting to ssh -o "ProxyCommand=ncat --proxy 127.0.0.1:9999 %h %p" -v4ND 1080 myuser@localhost This will bring up ssh client & bind socks5 dynamic proxy on local port curl -x socks5://127.0.0.1 https://ipinfo.io Finally, you can use it on Note |
If my vps ip is 1.2.3.4 . on the server i have to install screen program , this way i can open a new terminal and run these commands :
and then in another screen terminal i use these :
am i wrong ? then on client :
i would like to know if it is ok . |
yes, correct. you can use that commands |
Good day, immediately after connecting to tun2tap or any other socks to vpn app, The ssh connection closes immediately
Every single time I connect a socks5 to vpn app |
nvm, the solution is to bypass the VPN for Termux, so that the connection won't reset |
@maleeqB what so you mean by " nvm " ? What commands do we need to use? |
I mean "never mind", I asked a question, and I found the solution Regarding the commands, I used the commands he gave above and it works for ssl/tls tunnelling |
Hello.
This look a great program, I would like to use it .
Could you tell me with command I have to use to compile it for android using the architecture aarch64 , please .
I am planning to use my android phone as a client using the the Termux terminal app on android .
Vps server:
Could you give me the command to download and run your program in my vps (1.2.3.4) on port 8080 or 443
Client (Termux terminal app):
Could you give me the command to connect it to my vps (1.2.3.4) on port 8080 or 443 and use local host (127.0.0.1) and local port 1080 ?
This way I can use a a app (tun2tap for android app) and access to internet with all my android apps.
Similar to this video :
https://youtu.be/Rb4OIXWrjNU
I will wait your answer
The text was updated successfully, but these errors were encountered: