Howto Proxy for Android: Difference between revisions
Jump to navigation
Jump to search
Mandulete1 (talk | contribs) |
Mandulete1 (talk | contribs) |
||
Line 4: | Line 4: | ||
install android tools in other platforms: | install android tools in other platforms: | ||
https://developer.android.com/tools/releases/platform-tools | 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 | |||
= install proxy in android = | = install proxy in android = | ||
install every proxy on your android phone: | install every proxy on your android phone: |
Revision as of 23:51, 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
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
connect your phone via usb to your desktop then 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
- https://github.com/ambrop72/badvpn/issues/64
- https://github.com/xjasonlyu/tun2socks/wiki/Examples
- https://forums.balena.io/t/redsocks-proxy-not-working/220377/6?page=2
- https://medium.com/@jogarcia/breaking-the-proxy-walls-with-redsocks-in-linux-f4c1bfb6fb6a
- https://gist.github.com/softmoth/039e2879198f298a41f0924f9fd357c2