Sample Header Ad - 728x90

Use SSH tunnel along with a proxy

1 vote
1 answer
146 views
I have installed "Termux" app on my Android device. I can this use this command on Termux app to create a Socks 5 tunnel to my remote VPS on port 1080:
ssh -D 1080 user@22.15x.20y.150
Then I use "Exclave" app to proxy my Android device through that port. But as soon as I activate the connection on Exclave app, the ssh connection on Termux app is terminated. Consequently the Exclave app cannot connect the Android device through the ssh tunnel to the Internet. I'm not sure, but it looks like a cycle problem or loop problem to me. So far, I couldn't find a way to modify Exclave app to exclude the ssh Socks 5 connection from the proxy. What are the solutions to this problem? I'm open to any solution that might possibly solve my original problem. Thanks.
Asked by Megidd (242 rep)
May 18, 2025, 07:01 AM
Last activity: May 18, 2025, 07:26 AM