Home

Awesome

KidVPN

The world's smallest VPN server and client (For SylixOS and Linux).

Configure File

keywordsdescription
modeKidVPN run mode, 'server' or 'client'
key_fileKidVPN AES Key file
iv_fileCipher initial vector (Optional default use ECB)
vnd_idVirtual network device ID (Only for SylixOS)
tap_nameVirtual network device name (Only for Linux)
mtu1280 ~ 1472 (Optional default: 1464)
local_ipLocal IP address (Only for Server)
serverServer IP address (Only for Client)
portLocal port (Optional default: 10088)
hole_punchingUDP Hole punching (Optional default: 0)

* If too many client in one VPN net you can use UDP hole punching to reduce server forwarding pressure.

[server_0]
mode=server
key_file=serv.key
iv_file=serv.iv
vnd_id=0
tap_name=tap0
mtu=1464
local_ip=192.168.0.1
port=10088
[client_0]
mode=client
key_file=cli.key
iv_file=cli.iv
vnd_id=0
tap_name=tap0
mtu=1464
server=123.123.123.123
port=10088

* KidVPN daemon allow dynamic update of IV parameters using SIGUSR1 signal.*

For SylixOS

[vnd-X]
# X is a number of vnd ID)
enable=1
# Enable(up) this interface
ipaddr=x.x.x.x
# Virtual network ip address
netmask=x.x.x.x
# Virtual network netmask
mac=xx:xx:xx:xx:xx:xx
# Virtual network MAC address, If not, the system will use random numbers
vnd add X
# X is a number of vnd ID
kidvpn x.ini sector password
# 'x.ini' is vpn config file, 'sector' is ini sector which we will use, 'password' is password

For Linux

sudo apt-get install openssl
# Install OpenSSL library

sudo apt-get install libssl-dev
# Install OpenSSL develop library

make
# Build kidvpn target
sudo tunctl -t tapX -u root
# X is tap number

sudo ifconfig tapX up
# Enable tapX network
ifconfig tapX inet x.x.x.x netmask x.x.x.x
sudo ./kidvpn x.ini sector password
# 'x.ini' is vpn config file, 'sector' is ini sector which we will use, 'password' is password

Enjoy yourself ^_^