Compare commits

...

3 Commits

Author SHA1 Message Date
Nick Cao
e0a66674fd Merge 4559e6d47b into e42f0e5732 2023-11-16 00:48:53 -05:00
Yancey Wang
e42f0e5732 Update README.md 2023-11-15 15:15:46 -05:00
Nick Cao
4559e6d47b Add install target to CMakeLists.txt 2023-05-13 12:37:27 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -33,3 +33,5 @@ target_link_libraries(udp2raw rt)
target_link_libraries(udp2raw pthread)
include_directories(SYSTEM "libev")
include_directories(".")
install(TARGETS udp2raw)

View File

@@ -81,7 +81,7 @@ Assume your UDP is blocked or being QOS-ed or just poorly supported. Assume your
Now,an encrypted raw tunnel has been established between client and server through TCP port 4096. Connecting to UDP port 3333 at the client side is equivalent to connecting to port 7777 at the server side. No UDP traffic will be exposed.
### Note
To run on Android, check [Android_Guide](/doc/android_guide.md)
To run on Android, check [Android_Guide](https://github.com/wangyu-/udp2raw/wiki/Android-Guide)
`-a` option automatically adds an iptables rule (or a few iptables rules) for you, udp2raw relies on this iptables rule to work stably. Be aware you dont forget `-a` (its a common mistake). If you dont want udp2raw to add iptables rule automatically, you can add it manually(take a look at `-g` option) and omit `-a`.