1
0

Тайлбар байхгүй

wangyu 9f0c2c6f35 trival 8 жил өмнө
LICENSE.md ab2f1bfa93 7.11 commit 8 жил өмнө
README.md 3196c24977 trival 8 жил өмнө
aes.c 9f0c2c6f35 trival 8 жил өмнө
aes.h 9f0c2c6f35 trival 8 жил өмнө
common.cpp 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 жил өмнө
common.h 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 жил өмнө
encrypt.cpp 9f0c2c6f35 trival 8 жил өмнө
encrypt.h 9f10fd4766 trival 8 жил өмнө
log.cpp 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 жил өмнө
log.h 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 жил өмнө
main.cpp 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 жил өмнө
makefile 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 жил өмнө
md5.c 9f0c2c6f35 trival 8 жил өмнө
md5.h c6371c0ef5 added md5.c 8 жил өмнө
network.cpp 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 жил өмнө
network.h 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 жил өмнө

README.md

udp2raw-tunnel

udp2raw tunnel (udp to tcp with fake tcp header)

#usage

client: -A INPUT -s 44.55.66.77/32 -p tcp -m tcp --sport 9999 -j DROP

./raw -l 127.0.0.1:6666 -r44.55.66.77:9999 -c --source-ip 192.168.1.100

server: -A INPUT -p tcp -m tcp --dport 9999 -j DROP

./raw -l44.55.66.77:9999 -r 127.0.0.1:5555 -s