Files
wiki/mobile/README.md
2025-02-04 01:20:46 +00:00

31 lines
441 B
Markdown

# iOS
## Wireguard
## Server: iSH shell
```
apk add openssh tinyproxy
/etc/ssh/sshd_config
Port 2222
PermitRootLogin yes
AllowTcpForwarding yes
GatewayPorts yes
killall sshd
/usr/sbin/sshd
tee tinyproxy.conf <<EOF
Port 8888
Listen 0.0.0.0
Timeout 600
Allow 10.0.0.1
EOF
tinyproxy -d -c tinyproxy.conf
```
## Client
```
curl -x 10.0.0.2:8888 ip.yauk.tv
mitmweb -q --ssl-insecure -s proxy.py --mode upstream:http://10.0.0.2:8888@8079
```