29 lines
350 B
Markdown
29 lines
350 B
Markdown
# iOS
|
|
## Wireguard
|
|
## Server: iSH shell
|
|
```
|
|
apk add openssh
|
|
|
|
/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
|
|
``` |