好赞~ TCP分包拼包程序我学长写过一份:
https://npmjs.org/package/mtcp 不过我觉得c++更好。
IPV6的udp openvpn应该是不麻烦的。我的配置文件:
server:
local 2001:470:f04:e0::1
port 555
proto udp6
dev tun
ca /root/openvpn/keys/ca.crt
cert /root/openvpn/keys/server.crt
key /root/openvpn/keys/server.key
dh /root/openvpn/keys/dh1024.pem
server 10.8.1.0 255.255.255.0
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
plugin /usr/lib/openvpn/plugins/
openvpn-plugin-auth-pam.so openvpn
client-cert-not-required
username-as-common-name
status /root/openvpn/logs/status6.log
log-append /root/openvpn/logs/udp6.log
verb 3
mute 5
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 4.2.2.1"
push "dhcp-option DNS 4.2.2.2"
--script-security 3 system
client-connect /root/openvpn/
connect.shclient-disconnect /root/openvpn/
disconnect.shclient:
client
dev tun
proto udp6
remote 2001:470:1f04:d39::2 555
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
auth-user-pass
rcvbuf 65536
mssfix 1432
comp-lzo
verb 3
redirect-gateway def1
script-security 2 system
up update-resolv-conf
down update-resolv-conf
以及openvpn over ipv6 udp 速度:
http://www.speedtest.net/my-result/3161185703 一样的burst.net 的服务器
期待能有udp的分包版本