summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2016-07-10 14:42:48 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2016-07-10 14:42:48 -0400
commit985db79b2607c404d2ca6552348c27c8c2a7b2b9 (patch)
tree079be7fe60e21e1118caed24ac47b965219f37a2
parent8b613bf677ae5f0940b112477ff3e5979ec58f36 (diff)
downloadudpastcp-985db79b2607c404d2ca6552348c27c8c2a7b2b9.tar.xz
udpastcp-985db79b2607c404d2ca6552348c27c8c2a7b2b9.zip
Update example instructions.
-rw-r--r--README13
1 files changed, 9 insertions, 4 deletions
diff --git a/README b/README
index 23f98db..4d97c47 100644
--- a/README
+++ b/README
@@ -11,7 +11,12 @@ libev. If desired, it should be easily portable to use libevent instead, as it
uses only basic event-based programming concepts.
Example usage:
- server# openvpn --proto udp --port 1194
- server# udpintcp server localhost 11940 localhost 1194
- client# udpintcp client localhost 1194 server 11940
- client# openvpn --remote localhost 11940 udp
+ # gmake
+ [ ... ]
+ # ./test.sh
+ IPv4 test succeeded.
+ IPv6 test succeeded.
+ server# openvpn --config ... --proto udp6 --local ::1
+ server# udpintcp server server 11940 ::1 1194
+ client# udpintcp client ::1 1194 server 11940
+ client# openvpn --config ... --proto udp6 --remote ::1 11940