No Description

wangyu df58e3f914 update makefile 8 years ago
LICENSE.md ab2f1bfa93 7.11 commit 8 years ago
README.md d2d45af028 Update README.md 8 years ago
aes.c 2e86288cb0 add encryption files 8 years ago
aes.h 2e86288cb0 add encryption files 8 years ago
encrypt.cpp 49f6b93cba encrypt.cpp refactor to suppport more mode 8 years ago
encrypt.h 49f6b93cba encrypt.cpp refactor to suppport more mode 8 years ago
main.cpp df58e3f914 update makefile 8 years ago
makefile df58e3f914 update makefile 8 years ago

README.md

udp-to-raw-tunnel

udp-to-raw-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