android_guide 825 B

12345678910111213141516171819202122232425262728
  1. # how to run udp2raw on a rooted android device(arm cpu)
  2. There is currently no GUI for udp2raw on android.Make sure you have installed Terminal to run it.
  3. Download udp2raw_arm from https://github.com/wangyu-/udp2raw-tunnel/releases.
  4. Copy udp2raw_arm to any dir of your **internal_storage** .Copying it to SD card wont work.
  5. # step
  6. 1. run udp2raw_arm as usual, except you must change the -a option to -g
  7. ```
  8. ./udp2raw_arm -c -r 44.55.66.77:9966 0l 0.0.0.0:4000 -k1234 --cipher xor -g
  9. ```
  10. 2. find the generated iptables rule from udp2raw's output,add it manually by running:
  11. ```
  12. iptables -I INPUT -s 44.55.66.77/32 -p tcp -m tcp --sport 9966 -j DROP
  13. ```
  14. 3. run udp2raw_ram without -g command
  15. ```
  16. ./udp2raw_arm -c -r 44.55.66.77:9966 0l 0.0.0.0:4000 -k1234 --cipher xor -a
  17. ```
  18. # demostration
  19. ![](/images/android.png)