Howto Proxy for Android: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
Line 23: Line 23:
launch every proxy app on your android and enable socks5 proxy:
launch every proxy app on your android and enable socks5 proxy:
  proxy host exposed via port 1080
  proxy host exposed via port 1080
connect your phone via usb to your desktop then forward port 1080:
on your linux terminal use adb to forward port 1080:
  adb forward tcp:1080 tcp:1080
  adb forward tcp:1080 tcp:1080
= set proxy settings on desktop =
= set proxy settings on desktop =
on your web browser settings search for proxy:
on your web browser settings search for proxy:

Revision as of 23:54, 17 August 2024

install android tools

install android tools on archlinux:

pacman -S android-tools --noconfirm

install android tools in other platforms:

https://developer.android.com/tools/releases/platform-tools

turn on the developer options on android:

1. go to settings
2. tap about device or about phone
3. tap software information
4. tap build number seven times
5. enter your pin pattern to enable developer mode

enable usb debugging:

settings / developer tools / usb debbuging

on your linux terminal use adb to connect your mobile:

adb devices

if everything is fine you should see something like this:

List of devices attached
1A281JEG502493	device

install proxy in android

install every proxy on your android phone:

https://play.google.com/store/apps/details?id=com.gorillasoftware.everyproxy

launch every proxy app on your android and enable socks5 proxy:

proxy host exposed via port 1080

on your linux terminal use adb to forward port 1080:

adb forward tcp:1080 tcp:1080

set proxy settings on desktop

on your web browser settings search for proxy:

about:preferences#general 

set manual proxy configuration:

socks host: 127.0.0.1 port: 1080

proxychains

install proxy on archlinux:

pacman -S proxychains-ng --noconfirm

edit /etc/proxychains.conf to configure your proxy address:

socks5	127.0.0.1 1080

now you can use your proxy to access remote servers via ssh:

proxychains ssh root@publicipaddress -p 22

use proxychains to connect to openvpn:

proxychains openvpn --config /etc/openvpn/openvpn.conf

references