add tcp_tproxy option, use tproxy instead of redirect (tcp)

This commit is contained in:
zfl9
2020-07-18 16:23:21 +08:00
parent cab663a6a2
commit 78784507f1
4 changed files with 54 additions and 6 deletions
+4
View File
@@ -360,6 +360,10 @@ usage()
#endif
printf(
" [-U] Enable UDP relay and disable TCP relay.\n");
#ifdef MODULE_REDIR
printf(
" [-T] Use tproxy instead of redirect (for tcp).\n");
#endif
#ifdef MODULE_REMOTE
printf(
" [-6] Resovle hostname to IPv6 address first.\n");