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