mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 22:39:31 +08:00
Create android_guide
This commit is contained in:
parent
7a62918b74
commit
85dfdd416f
28
doc/android_guide
Normal file
28
doc/android_guide
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# how to run udp2raw on a rooted android device(arm cpu)
|
||||||
|
|
||||||
|
There is currently no GUI for udp2raw on android.Make sure you have installed Terminal to run it.
|
||||||
|
|
||||||
|
Download udp2raw_arm from https://github.com/wangyu-/udp2raw-tunnel/releases.
|
||||||
|
|
||||||
|
Copy udp2raw_arm to any dir of your **internal_storage** .Copying it to SD card wont work.
|
||||||
|
|
||||||
|
# step
|
||||||
|
1. run udp2raw_arm as usual, except you must change the -a option to -g
|
||||||
|
```
|
||||||
|
./udp2raw_arm -c -r 44.55.66.77:9966 0l 0.0.0.0:4000 -k1234 --cipher xor -g
|
||||||
|
```
|
||||||
|
|
||||||
|
2. find the generated iptables rule from udp2raw's output,add it manually by running:
|
||||||
|
```
|
||||||
|
iptables -I INPUT -s 44.55.66.77/32 -p tcp -m tcp --sport 9966 -j DROP
|
||||||
|
```
|
||||||
|
|
||||||
|
3. run udp2raw_ram without -g command
|
||||||
|
|
||||||
|
```
|
||||||
|
./udp2raw_arm -c -r 44.55.66.77:9966 0l 0.0.0.0:4000 -k1234 --cipher xor -a
|
||||||
|
```
|
||||||
|
|
||||||
|
# demostration
|
||||||
|
|
||||||
|
![](/images/android.png)
|
Loading…
x
Reference in New Issue
Block a user