instance-re6stnet-input-schema.json 3.3 KB
Newer Older
1
{
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
  "$schema": "http://json-schema.org/draft-04/schema#",
  "properties": {
    "ipv6-prefix": {
      "title": "Ipv6 prefix to use to setup the new re6st network",
      "description": "Prefix ipv6 used by re6st to setup network. It is something like 2001:db8:42::/48",
      "type": "string"
    },
    "key-size": {
      "title": "Number of bit to use for certificate generation",
      "description": "Specify the size of certificate generated by re6st. by default, generate 2048-bit key length",
      "type": "integer",
      "minimum": 1024,
      "default": 2048
    },
    "prefix-length": {
      "title": "Default length of allocated prefixes.",
      "description": "Default length of allocated prefixes.",
      "type": "integer",
      "default": 16
    },
    "anonymous-prefix-length": {
      "title": "Length of allocated anonymous prefixes.",
      "description": "Length of allocated anonymous prefixes. 0 is unset.",
      "type": "integer",
      "default": 0
    },
    "mailhost": {
      "title": "SMTP host to send confirmation emails.",
      "description": "SMTP host to send confirmation emails. Not needed if when token is requested from slave instances.",
      "type": "string",
      "default": "127.0.0.1"
    },
    "ipv4-net": {
      "title": "Enable ipv4 (ip/NET P_LENGTH).",
      "description": "Enable ipv4 (ip/NET P_LENGTH). Each node is assigned a subnet of length PLEN, inside network IP/N. Ex: 10.42.0.0/16 8",
      "type": "string",
      "default": ""
    },
    "client-count": {
      "title": "Number of client tunnels to set up.",
      "description": "Number of client tunnels to set up.",
      "type": "integer",
      "default": 10
    },
    "tunnel-refresh": {
      "title": "Interval in seconds between two tunnel refresh.",
      "description": "Interval in seconds between two tunnel refresh: the worst tunnel is closed if the number of client tunnels has reached its maximum number (client-count).",
      "type": "integer",
      "default": 300
    },
    "max-clients": {
      "title": "Maximum number of accepted clients per OpenVPN server.",
      "description": "Maximum number of accepted clients per OpenVPN server. (if unset or 0: client-count * 2, which actually represents the average number of tunnels to other peers)",
      "type": "integer",
      "default": 0
    },
    "hello": {
      "title": "Hello interval in seconds, for both wired and wireless connections.",
      "description": "Hello interval in seconds, for both wired and wireless connections. OpenVPN ping-exit option is set to 4 times the hello interval. It takes between 3 and 4 times the hello interval for Babel to re-establish connection with a node for which the direct connection has been cut.",
      "type": "integer",
      "default": 15
    },
    "min-protocol": {
      "title": "Reject nodes that are too old.",
      "description": "Reject nodes that are too old. Default is unset.",
      "type": "integer",
      "default": -1
    },
    "encrypt": {
      "title": "Specify that tunnels should be encrypted.",
      "description": "Specify that tunnels should be encrypted.",
      "type": "boolean",
      "default": false
    },
    "same-country": {
      "title": "Same Country",
      "description": "Prevent tunnelling accross borders of listed countries",
      "type": "string",
      "default": ""
81
    }
82 83
  }
}