info
info
is used to customize user configuration of services. Users can modify it to meet their own requirements.
There are 2 kinds of info
in system
- info.yml - For service starting
- info.queued.yml - For replacing info.yml
Show info
Show info
make showinfo
Show queued info
make show_queued_info
Reset info to default.
make reset_info
info
template
info
is yaml file, check detailed info about how to modify info
of dnsmasq, bypass, sskcp
dnsmasq:
dhcp-range: 192.168.0.5,192.168.0.150,12h
dhcp-option: 6,192.168.0.1
cache-size: 3000
domain: powter
local: /powter/
dns-server:
- ip: 1.1.1.1
ports:
start-port: 16350
end-port: 16370
- ip: 2.2.2.2
ports:
start-port: 16350
end-port: 16370
dnsconf-dir:/home/USER/dnsconf
bypass:
config:
lan: br0
base_port: 2010
number: 4
bypass-vps:
- ip/net
- ip/net
whitelist-dir: /home/USER/bypass-white
sskcp:
client:
- { mode: sskcp/ss, log-dir: /home/USER/snmplog, listenport: 2010, vpsip: 1.1.1.1, vpsport: 7010 ,key: test }
- { mode: sskcp/ss, log-dir: /home/USER/snmplog, listenport: 2020, vpsip: 1.1.1.1, vpsport: 7020 ,key: test }
- { mode: sskcp/ss, log-dir: /home/USER/snmplog, listenport: 2030, vpsip: 2.2.2.2, vpsport: 7010, key: test }
- { mode: sskcp/ss, log-dir: /home/USER/snmplog, listenport: 2040, vpsip: 2.2.2.2, vpsport: 7020, key: test }