Update android_guide.md

This commit is contained in:
wangyu- 2017-08-16 06:43:05 -07:00 committed by GitHub
parent 09b00ef07b
commit 99b3ddf6a1

View File

@ -9,7 +9,7 @@ Copy udp2raw_arm to any dir of your **internal storage** .Copying it to **SD car
# Steps # Steps
1. run udp2raw_arm as usual, except you must change the -a option to -g 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 ./udp2raw_arm -c -r 44.55.66.77:9966 -l 0.0.0.0:4000 -k1234 --cipher xor -g
``` ```
2. find the generated iptables rule from udp2raw's output,add it manually by running: 2. find the generated iptables rule from udp2raw's output,add it manually by running:
@ -20,7 +20,7 @@ iptables -I INPUT -s 44.55.66.77/32 -p tcp -m tcp --sport 9966 -j DROP
3. run udp2raw_ram without -g command 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 ./udp2raw_arm -c -r 44.55.66.77:9966 -l 0.0.0.0:4000 -k1234 --cipher xor
``` ```
# Demostration (zoom-in if not clear enough) # Demostration (zoom-in if not clear enough)