-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.ini.in
117 lines (107 loc) · 3.35 KB
/
config.ini.in
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Installed Config. Should be located in /etc/edgesec.
# This file was autogenerated by cmake
[system]
binPath = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
createInterfaces = true
ignoreErrorOnIfCreate = true
allowAllConnections = true
allowAllNat = true
apDetect = false
generateSsid = true
allocateVlans = true
defaultOpenVlanId = 0
# Set to `true` to let edgesec process start hostapd
execAp = true
execRadius = true
execDhcp = true
execCapture = true
execMdnsForward = true
execFirewall = true
setIpForward = true
connectionDbPath = "@EDGESEC_full_local_lib_dir@/connection.sqlite"
cryptDbPath = "@EDGESEC_full_local_lib_dir@/crypt.sqlite"
pidFilePath = "@EDGESEC_full_runstate_dir@/edgesec.pid"
[capture]
captureDbPath = "@EDGESEC_full_local_lib_dir@/capture.sqlite"
filter = ""
promiscuous = false
bufferTimeout = 10
immediate = false
middlewareParams = ""
[supervisor]
supervisorControlPort = 32001
supervisorControlPath = "@EDGESEC_full_runstate_dir@/edgesec-control-server"
[ap]
apBinPath = "@EDGESEC_full_libexec_dir@/hostapd"
apFilePath = "@EDGESEC_full_config_dir@/hostapd.conf"
apLogPath = "@EDGESEC_full_log_dir@/hostapd.log"
interface = "wlan1" # name of Wifi USB AP on Raspberry Pi
device = "radio1"
vlanTaggedInterface = ""
ssid = "IOTH_PI"
wpaPassphrase = "1234554321"
driver = "nl80211"
hwMode = "g"
channel = 11
wmmEnabled = 1
authAlgs = 1
wpa = 2
wpaKeyMgmt = "WPA-PSK"
rsnPairwise = "CCMP"
ctrlInterface = "@EDGESEC_full_runstate_dir@/hostapd"
macaddrAcl = 2
dynamicVlan = 2
vlanFile = "@EDGESEC_full_config_dir@/hostapd.vlan"
loggerStdout = -1
loggerStdoutLevel = 0
loggerSyslog = -1
loggerSyslogLevel = 0
ignoreBroadcastSsid = 0
wpaPskRadius = 2
[radius]
port = 1812
clientIP = "127.0.0.1"
clientMask = 32
serverIP = "127.0.0.1"
serverMask = 32
secret = "radius"
[nat]
natBridge = ""
natInterface = "eth0" # raspberry pi default ethernet port
[firewall]
firewallBinPath = ""
[dns]
servers="8.8.4.4,8.8.8.8"
mdnsReflectIp4=true
mdnsReflectIp6=true
mdnsFilter = "src net 10.0 and dst net 10.0"
[dhcp]
dhcpBinPath = "/usr/sbin/dnsmasq"
dhcpConfigPath = "@EDGESEC_full_config_dir@/dnsmasq.conf"
dhcpScriptPath = "@EDGESEC_full_config_dir@/dnsmasq_exec.sh"
dhcpLeasefilePath = "@EDGESEC_full_local_lib_dir@/dnsmasq.leases"
dhcpRange0 = "0,10.0.0.2,10.0.0.254,255.255.255.0,24h"
dhcpRange1 = "1,10.0.1.2,10.0.1.254,255.255.255.0,24h"
dhcpRange2 = "2,10.0.2.2,10.0.2.254,255.255.255.0,24h"
dhcpRange3 = "3,10.0.3.2,10.0.3.254,255.255.255.0,24h"
dhcpRange4 = "4,10.0.4.2,10.0.4.254,255.255.255.0,24h"
dhcpRange5 = "5,10.0.5.2,10.0.5.254,255.255.255.0,24h"
dhcpRange6 = "6,10.0.6.2,10.0.6.254,255.255.255.0,24h"
dhcpRange7 = "7,10.0.7.2,10.0.7.254,255.255.255.0,24h"
dhcpRange8 = "8,10.0.8.2,10.0.8.254,255.255.255.0,24h"
dhcpRange9 = "9,10.0.9.2,10.0.9.254,255.255.255.0,24h"
dhcpRange10 = "10,10.0.10.2,10.0.10.254,255.255.255.0,24h"
[interfaces]
bridgePrefix = "br"
interfacePrefix = "br"
if0 = "0,10.0.0.1,10.0.0.255,255.255.255.0"
if1 = "1,10.0.1.1,10.0.1.255,255.255.255.0"
if2 = "2,10.0.2.1,10.0.2.255,255.255.255.0"
if3 = "3,10.0.3.1,10.0.3.255,255.255.255.0"
if4 = "4,10.0.4.1,10.0.4.255,255.255.255.0"
if5 = "5,10.0.5.1,10.0.5.255,255.255.255.0"
if6 = "6,10.0.6.1,10.0.6.255,255.255.255.0"
if7 = "7,10.0.7.1,10.0.7.255,255.255.255.0"
if8 = "8,10.0.8.1,10.0.8.255,255.255.255.0"
if9 = "9,10.0.9.1,10.0.9.255,255.255.255.0"
if10 = "10,10.0.10.1,10.0.10.255,255.255.255.0"