curveprotect software (experimental)

VPN Data file format

i:pkey:ip:gw

  • means that VPN server will announce IPv4 address "ip" and gateway "gw" to VPN client with public CurveCP key "pkey"
  • #IP configuration for user with publickey: a47fe54cc73b6f639dd02f2ed7e4310721a9e59621148184ec00bb5fb9947c07
    i:a47fe54cc73b6f639dd02f2ed7e4310721a9e59621148184ec00bb5fb9947c07:172.16.85.3:172.16.85.4
    
    

    r:pkey:net:mask

  • means that VPN server will announce IPv4 static route "net"/"mask" to VPN client with public CurveCP key "pkey"
  • if "pkey" is empty, VPN server will announce IPv4 static route to all VPN clients
  • #global route
    r::192.168.0.0:255.255.0.0
    
    #additional route for user with publickey: ab04e12184a5c0671e3f182eff940e37bd72a0ca4fb1e5c75553e6efe905d06e
    r:ab04e12184a5c0671e3f182eff940e37bd72a0ca4fb1e5c75553e6efe905d06e:10.1.0.0:255.255.0.0
    
    

    Data file example

    #global routes
    r::192.168.0.0:255.255.0.0
    r::10.2.0.0:255.255.0.0
    r::10.0.0.0:255.255.0.0
    r::172.16.85.0:255.255.255.0
    
    #user1
    i:92ff9c0295623926e71dbfa44bb2169c7340623d4586d1e1276f66d592a2830e:172.16.85.3:172.16.85.4
    
    #user2
    i:5a3eab12379321638a2549bbfd41229979bcfaca103c702daab7a8e9166d1035:172.16.85.5:172.16.85.6
    
    #user3
    i:77cef624d8756fbdd5808112487311b7633727a1b357e08c7abd608ec231b751:172.16.85.7:172.16.85.8
    
    #user4
    i:d7b70e523a5323b3564c7268fe23b60b7ec20be7420ce78bf554fb1073cac07a:172.16.85.9:172.16.85.10
    
    #user5
    i:6c55ee7b9361a6c33808c5dfc097f20fc25caebd18ada0b4751e2b05fb74ea3a:172.16.85.11:172.16.85.12
    
    #user6 + additional route
    i:ab04e12184a5c0671e3f182eff940e37bd72a0ca4fb1e5c75553e6efe905d06e:172.16.85.13:172.16.85.14
    r:ab04e12184a5c0671e3f182eff940e37bd72a0ca4fb1e5c75553e6efe905d06e:10.1.0.0:255.255.0.0
    
    #user7
    i:b8b8af6f9287d87a3806e4eba0b76d4a5fc42d9b30b0a4e7baa1a16eeb543329:172.16.85.15:172.16.85.16
    
    #user8
    i:c29e776b85c6a0b4040e259ae3959cae86c9e2507da96fca06166e8346923e5d:172.16.85.17:172.16.85.18