Update mobile/README.md
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
# iOS: iSH shell
|
||||
# iOS
|
||||
## Wireguard
|
||||
## Server: iSH shell
|
||||
```
|
||||
apk add openssh
|
||||
|
||||
@@ -10,14 +12,18 @@ 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
|
||||
```
|
||||
|
||||
## Wireguard
|
||||
|
||||
|
||||
## Client
|
||||
```
|
||||
ssh -vvv -D '*:1080' -qCN root@10.0.0.2 -p 2222
|
||||
|
||||
curl -v --socks5 172.17.118.175:1080 http://httpbin.org/ip
|
||||
curl -x 10.0.0.2:8888 ip.yauk.tv
|
||||
```
|
||||
Reference in New Issue
Block a user