Skip to content

tun1.7

Latest
Compare
Choose a tag to compare
@Azumi67 Azumi67 released this 01 Sep 09:53
· 26 commits to main since this release
4f9195c

This is for Online game and personal usage
Added Retry interval (Server & Client reconnect to each other in case of failure)
old.zip files are without Retry interval feature
Added socket buff
Worker added
keepalive, tcpnodelay and other options are intact.
Removed nonce & sha 256 hash key and added public key and private key instead of secret key authentication method.


Usage :
Enable worker : -worker default (based on cpu cores) | -worker 4 ( the custom worker number )
Enable keepalive : -keepalive 10s or -keepalive 1m
Enable tcpnodelay : -tcpnodelay
Enable log saving : -log
server side : -pub-key=/root/keys/public_key.pem
client side : -priv-key=/root/private_key.pem
Socket enable : -sock
Socket buffer size : -sockbuff=1048576


key creation :
openssl genrsa -out private_key.pem 2048
openssl rsa -pubout -in private_key.pem -out public_key.pem

Script added