No Description

wangyu 956bc5ab06 changed iptables -A to -I, auth_mode: simple 8 years ago
LICENSE.md ab2f1bfa93 7.11 commit 8 years ago
README.md 3196c24977 trival 8 years ago
aes.c 9f0c2c6f35 trival 8 years ago
aes.h 9f0c2c6f35 trival 8 years ago
common.cpp 956bc5ab06 changed iptables -A to -I, auth_mode: simple 8 years ago
common.h acece0b329 handle more signal 8 years ago
encrypt.cpp 956bc5ab06 changed iptables -A to -I, auth_mode: simple 8 years ago
encrypt.h 956bc5ab06 changed iptables -A to -I, auth_mode: simple 8 years ago
log.cpp acece0b329 handle more signal 8 years ago
log.h 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 years ago
main.cpp 956bc5ab06 changed iptables -A to -I, auth_mode: simple 8 years ago
makefile 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 years ago
md5.c 9f0c2c6f35 trival 8 years ago
md5.h c6371c0ef5 added md5.c 8 years ago
network.cpp 956bc5ab06 changed iptables -A to -I, auth_mode: simple 8 years ago
network.h 77eff2e6b1 auto add iptables rule, fixed Wformat warnings 8 years ago

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