Configuration schema¶
The configuration is a single JSON document. The running copy lives in
/etc/fr0ntier/running.json, the candidate in /etc/fr0ntier/candidate.json and versions in
/etc/fr0ntier/versions/. Edit it through the UI, CLI or API — never by hand — so that it is
validated and committed atomically. You can export, version-control and re-import it.
Tip
fr0ntier render --config my.json --out /tmp/preview shows the system files a configuration would produce.
Secrets (user password hashes, authenticator keys, pre-shared and private keys) are part of the configuration: protect exported files and backups like passwords.
Config¶
| Field | Type | Notes |
|---|---|---|
meta |
Meta |
|
system |
System |
|
interfaces |
[]Interface |
|
zones |
[]Zone |
|
addresses |
[]Address |
|
address_groups |
[]AddressGroup |
|
services |
[]Service |
|
service_groups |
[]ServiceGroup |
|
schedules |
[]Schedule |
|
policies |
[]Policy |
|
nat |
NAT |
|
routes |
[]Route |
|
dhcp |
DHCP |
|
dns |
DNS |
|
wireguard |
[]WGTunnel |
|
openvpn |
[]OpenVPN |
|
ipsec |
[]IPsec |
|
users |
[]User |
|
user_groups |
[]UserGroup |
|
authentication |
AuthSettings |
|
email |
EmailServer |
|
proxy |
ReverseProxy |
|
firewall |
Firewall |
|
monitoring |
Monitoring |
Meta¶
| Field | Type | Notes |
|---|---|---|
schema |
int |
System¶
| Field | Type | Notes |
|---|---|---|
hostname |
string |
|
domain |
string |
|
timezone |
string |
|
ntp_servers |
[]string |
|
ssh_port |
int |
|
login_banner |
string |
|
admin |
AdminSettings |
|
commit |
CommitSettings |
Interface¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
type |
string |
|
alias |
string |
|
description |
string |
|
enabled |
bool |
|
role |
string |
wan, lan, dmz, mgmt, undefined |
mac |
string |
physical/wifi: stable naming match |
parent |
string |
|
vlan_id |
int |
|
members |
[]string |
|
mode |
string |
static, dhcp, none |
addresses |
[]string |
|
gateway |
string |
|
ipv6_mode |
string |
none, static, slaac, dhcpv6 |
gateway6 |
string |
|
mtu |
int |
|
metric |
int |
|
allow_access |
[]string |
https ssh ping dns dhcp ntp prometheus |
egress_shaping_mbit |
int |
|
wifi |
WiFi |
|
monitor |
GatewayMonitor |
Zone¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
interfaces |
[]string |
|
intrazone |
string |
allow, deny |
description |
string |
Address¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
type |
string |
subnet, range, fqdn |
value |
string |
|
description |
string |
AddressGroup¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
members |
[]string |
|
description |
string |
Service¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
protocol |
string |
tcp, udp, tcp/udp, icmp, icmpv6, ip |
ports |
string |
"80,443,8000-8100" |
icmp_type |
string |
|
proto_number |
int |
|
description |
string |
ServiceGroup¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
members |
[]string |
|
description |
string |
Schedule¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
days |
[]string |
mon..sun |
start |
string |
|
end |
string |
|
description |
string |
Policy¶
| Field | Type | Notes |
|---|---|---|
id |
int |
|
name |
string |
|
enabled |
bool |
|
src_intf |
[]string |
|
dst_intf |
[]string |
|
src_addr |
[]string |
|
dst_addr |
[]string |
|
service |
[]string |
|
schedule |
string |
|
action |
string |
accept, deny, reject |
log |
bool |
|
nat |
bool |
|
groups |
[]string |
identity: only VPN users of these user groups |
comment |
string |
NAT¶
| Field | Type | Notes |
|---|---|---|
snat |
[]SNATRule |
|
dnat |
[]DNATRule |
Route¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
destination |
string |
|
gateway |
string |
|
interface |
string |
|
metric |
int |
|
type |
string |
unicast, blackhole, unreachable |
description |
string |
DHCP¶
| Field | Type | Notes |
|---|---|---|
servers |
[]DHCPServer |
|
static_leases |
[]StaticLease |
DNS¶
| Field | Type | Notes |
|---|---|---|
enabled |
bool |
|
upstreams |
[]string |
|
bootstrap |
[]string |
|
strategy |
string |
failover, parallel, round-robin |
cache_size |
int |
|
min_ttl |
int |
|
max_ttl |
int |
|
register_dhcp |
bool |
|
rebind_protection |
bool |
|
rate_limit_qps |
int |
|
query_log |
bool |
|
query_log_days |
int |
|
anonymize_clients |
bool |
|
records |
[]DNSRecord |
|
forwarders |
[]DNSForward |
|
blocking |
DNSBlocking |
|
bypass_clients |
[]string |
WGTunnel¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
description |
string |
|
private_key |
string |
|
listen_port |
int |
|
addresses |
[]string |
|
mtu |
int |
|
role |
string |
|
default_route |
bool |
|
metric |
int |
|
underlay |
string |
|
allow_access |
[]string |
|
public_host |
string |
|
client_dns |
[]string |
|
peers |
[]WGPeer |
OpenVPN¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
mode |
string |
server, client |
description |
string |
|
proto |
string |
|
port |
int |
|
network |
string |
|
push_routes |
[]string |
|
push_dns |
bool |
|
redirect_gateway |
bool |
|
cipher |
string |
|
public_host |
string |
|
max_clients |
int |
|
role |
string |
|
auth |
string |
Auth selects how remote users authenticate on a server: certificate - device certificates only (Clients) password - username + password (+ 2FA), no client certificate certificate+password - per-user certificate and password (+ 2FA) |
user_groups |
[]string |
groups allowed to connect; empty = every user |
session_hours |
int |
re-authentication interval (auth token lifetime) |
multiple_logins |
bool |
|
client_to_client |
bool |
|
clients |
[]OpenVPNClient |
|
client_config |
string |
IPsec¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
description |
string |
|
if_id |
int |
|
local_address |
string |
|
remote_address |
string |
|
local_id |
string |
|
remote_id |
string |
|
psk |
string |
|
ike_proposals |
string |
|
esp_proposals |
string |
|
local_subnets |
[]string |
|
remote_subnets |
[]string |
|
start_action |
string |
start, trap, none |
dpd_delay |
int |
|
role |
string |
User¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
full_name |
string |
|
email |
string |
|
password |
string |
PBKDF2 hash; plain text is hashed when saved |
two_factor |
string |
none, totp, email |
totp_secret |
string |
base32, generated automatically |
groups |
[]string |
|
expires |
string |
YYYY-MM-DD; empty = never |
vpn_address |
string |
optional fixed OpenVPN tunnel address |
description |
string |
UserGroup¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
description |
string |
AuthSettings¶
| Field | Type | Notes |
|---|---|---|
lockout_attempts |
int |
|
lockout_minutes |
int |
|
password_min_length |
int |
|
totp_issuer |
string |
name shown in authenticator apps |
email_code_length |
int |
|
email_code_ttl_sec |
int |
EmailServer¶
| Field | Type | Notes |
|---|---|---|
enabled |
bool |
|
host |
string |
|
port |
int |
|
security |
string |
starttls, tls, none |
username |
string |
|
password |
string |
|
from |
string |
|
from_name |
string |
ReverseProxy¶
| Field | Type | Notes |
|---|---|---|
settings |
ProxySettings |
|
hosts |
[]ProxyHost |
Firewall¶
| Field | Type | Notes |
|---|---|---|
log_default_deny |
bool |
|
log_backend |
string |
nflog, kmsg |
log_rate |
int |
log entries/s per rule |
fastpath |
bool |
|
mss_clamp |
bool |
|
conntrack_max |
int |
|
synflood_protect |
bool |
|
synflood_rate |
int |
|
strict_rpf |
bool |
|
ipv6_forwarding |
bool |
|
icmp_rate |
int |
Monitoring¶
| Field | Type | Notes |
|---|---|---|
interval_sec |
int |
|
raw_hours |
int |
|
minute_days |
int |
|
fivemin_days |
int |
|
hour_days |
int |
|
log_days |
int |
|
log_max_mb |
int |
|
flow_log |
bool |
|
smart |
bool |
|
sessions |
bool |
|
alerts |
[]Alert |
|
notifiers |
[]Notifier |
|
exporters |
[]Exporter |
AdminSettings¶
| Field | Type | Notes |
|---|---|---|
https_port |
int |
|
trusted_hosts |
[]string |
|
session_timeout_min |
int |
|
lockout_attempts |
int |
|
lockout_minutes |
int |
CommitSettings¶
| Field | Type | Notes |
|---|---|---|
confirm_by_default |
bool |
|
confirm_timeout_min |
int |
|
max_versions |
int |
WiFi¶
| Field | Type | Notes |
|---|---|---|
mode |
string |
ap, client |
ssid |
string |
|
psk |
string |
|
security |
string |
wpa2, wpa3, wpa2-wpa3 |
country |
string |
|
band |
string |
2.4, 5 |
channel |
int |
|
hidden |
bool |
GatewayMonitor¶
| Field | Type | Notes |
|---|---|---|
enabled |
bool |
|
target |
string |
|
interval_sec |
int |
|
fail_count |
int |
|
failover |
bool |
SNATRule¶
| Field | Type | Notes |
|---|---|---|
id |
int |
|
enabled |
bool |
|
out_intf |
[]string |
|
src_addr |
[]string |
|
dst_addr |
[]string |
|
translation |
string |
masquerade, snat, none |
to_address |
string |
|
comment |
string |
DNATRule¶
| Field | Type | Notes |
|---|---|---|
id |
int |
|
name |
string |
|
enabled |
bool |
|
in_intf |
[]string |
|
protocol |
string |
tcp, udp, tcp/udp |
ext_address |
string |
|
ext_port |
string |
|
int_address |
string |
|
int_port |
string |
|
src_addr |
[]string |
|
auto_policy |
bool |
|
log |
bool |
|
comment |
string |
DHCPServer¶
| Field | Type | Notes |
|---|---|---|
interface |
string |
|
enabled |
bool |
|
range_start |
string |
|
range_end |
string |
|
lease_time |
string |
|
gateway |
string |
|
dns_servers |
[]string |
|
domain |
string |
|
ntp_servers |
[]string |
|
ipv6_ra |
bool |
|
options |
[]string |
StaticLease¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
mac |
string |
|
ip |
string |
|
interface |
string |
DNSRecord¶
| Field | Type | Notes |
|---|---|---|
id |
int |
|
name |
string |
|
type |
string |
A AAAA CNAME TXT MX PTR SRV |
value |
string |
|
ttl |
int |
DNSForward¶
| Field | Type | Notes |
|---|---|---|
name |
string |
domain |
servers |
[]string |
DNSBlocking¶
| Field | Type | Notes |
|---|---|---|
enabled |
bool |
|
mode |
string |
null, nxdomain, refused |
update_hours |
int |
|
lists |
[]Blocklist |
|
allow |
[]string |
|
deny |
[]string |
WGPeer¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
public_key |
string |
|
private_key |
string |
optional, kept only for client config export |
preshared_key |
string |
|
endpoint |
string |
|
allowed_ips |
[]string |
|
keepalive |
int |
|
route_allowed_ips |
bool |
OpenVPNClient¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
ProxySettings¶
| Field | Type | Notes |
|---|---|---|
enabled |
bool |
|
interfaces |
[]string |
interfaces / zones where the proxy ports are opened |
http_port |
int |
|
https_port |
int |
|
acme_email |
string |
|
acme_staging |
bool |
ProxyHost¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
domains |
[]string |
|
upstreams |
[]string |
http://192.168.10.5:8080, https://nas.lan:5001 |
balance |
string |
round_robin, least_conn, ip_hash |
tls |
string |
acme, self_signed, custom, none |
certificate |
string |
|
private_key |
string |
|
force_https |
bool |
|
hsts |
bool |
|
http2 |
bool |
|
websockets |
bool |
|
verify_upstream_tls |
bool |
|
allow_from |
[]string |
addresses allowed to connect; empty = anyone |
basic_auth |
[]string |
user:password (password hashed when saved) |
max_body_mb |
int |
|
timeout_sec |
int |
|
headers |
[]string |
extra response headers "Name: value" |
advanced |
string |
|
description |
string |
Alert¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
metric |
string |
|
labels |
string |
"iface=wan1" or "" for any |
operator |
string |
|
threshold |
float64 |
|
for_sec |
int |
|
severity |
string |
info, warning, critical |
notify |
[]string |
Notifier¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
type |
string |
webhook, slack, discord, telegram, ntfy, email |
url |
string |
|
token |
string |
|
chat_id |
string |
|
smtp_host |
string |
|
smtp_port |
int |
|
username |
string |
|
password |
string |
|
from |
string |
|
to |
string |
Exporter¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
enabled |
bool |
|
type |
string |
prometheus, influxdb, graphite, syslog, http, file |
streams |
[]string |
metrics, firewall, dns, audit, alert, flow, system |
address |
string |
|
url |
string |
|
protocol |
string |
udp, tcp, tls |
format |
string |
|
token |
string |
|
username |
string |
|
password |
string |
|
org |
string |
|
bucket |
string |
|
database |
string |
|
prefix |
string |
|
path |
string |
|
interval_sec |
int |
|
allow_from |
[]string |
|
tls_insecure |
bool |
|
header |
string |
|
keep_days |
int |
Blocklist¶
| Field | Type | Notes |
|---|---|---|
name |
string |
|
url |
string |
|
enabled |
bool |
Example (preset router)¶
running.json
{
"meta": {
"schema": 2
},
"system": {
"hostname": "fr0ntier",
"domain": "lan",
"timezone": "Europe/Madrid",
"ntp_servers": [
"0.debian.pool.ntp.org",
"1.debian.pool.ntp.org",
"2.debian.pool.ntp.org"
],
"ssh_port": 22,
"login_banner": "",
"admin": {
"https_port": 8443,
"trusted_hosts": [],
"session_timeout_min": 30,
"lockout_attempts": 5,
"lockout_minutes": 10
},
"commit": {
"confirm_by_default": true,
"confirm_timeout_min": 5,
"max_versions": 10
}
},
"interfaces": [
{
"name": "port1",
"type": "physical",
"alias": "",
"description": "",
"enabled": true,
"role": "wan",
"mac": "dc:a6:32:00:00:01",
"parent": "",
"vlan_id": 0,
"members": [],
"mode": "dhcp",
"addresses": [],
"gateway": "",
"ipv6_mode": "none",
"gateway6": "",
"mtu": 0,
"metric": 0,
"allow_access": [
"https",
"ssh",
"ping"
],
"egress_shaping_mbit": 0,
"wifi": {
"mode": "",
"ssid": "",
"psk": "",
"security": "",
"country": "",
"band": "",
"channel": 0,
"hidden": false
},
"monitor": {
"enabled": true,
"target": "9.9.9.9",
"interval_sec": 5,
"fail_count": 3,
"failover": false
}
},
{
"name": "port2",
"type": "physical",
"alias": "",
"description": "",
"enabled": true,
"role": "lan",
"mac": "dc:a6:32:00:00:02",
"parent": "",
"vlan_id": 0,
"members": [],
"mode": "static",
"addresses": [
"192.168.10.1/24"
],
"gateway": "",
"ipv6_mode": "none",
"gateway6": "",
"mtu": 0,
"metric": 0,
"allow_access": [
"https",
"ssh",
"ping",
"dns",
"dhcp",
"ntp"
],
"egress_shaping_mbit": 0,
"wifi": {
"mode": "",
"ssid": "",
"psk": "",
"security": "",
"country": "",
"band": "",
"channel": 0,
"hidden": false
},
"monitor": {
"enabled": false,
"target": "",
"interval_sec": 5,
"fail_count": 3,
"failover": false
}
}
],
"zones": [
{
"name": "WAN",
"interfaces": [
"port1"
],
"intrazone": "deny",
"description": ""
},
{
"name": "LAN",
"interfaces": [
"port2"
],
"intrazone": "allow",
"description": ""
}
],
"addresses": [],
"address_groups": [],
"services": [
{
"name": "ALL",
"protocol": "ip",
"ports": "",
"icmp_type": "",
"proto_number": 0,
"description": "All traffic"
},
{
"name": "ALL_TCP",
"protocol": "tcp",
"ports": "1-65535",
"icmp_type": "",
"proto_number": 0,
"description": "All TCP ports"
},
{
"name": "ALL_UDP",
"protocol": "udp",
"ports": "1-65535",
"icmp_type": "",
"proto_number": 0,
"description": "All UDP ports"
},
{
"name": "PING",
"protocol": "icmp",
"ports": "",
"icmp_type": "echo-request",
"proto_number": 0,
"description": "ICMP echo"
},
{
"name": "PING6",
"protocol": "icmpv6",
"ports": "",
"icmp_type": "echo-request",
"proto_number": 0,
"description": "ICMPv6 echo"
},
{
"name": "HTTP",
"protocol": "tcp",
"ports": "80",
"icmp_type": "",
"proto_number": 0,
"description": "Hypertext Transfer Protocol"
},
{
"name": "HTTPS",
"protocol": "tcp",
"ports": "443",
"icmp_type": "",
"proto_number": 0,
"description": "HTTP over TLS"
},
{
"name": "QUIC",
"protocol": "udp",
"ports": "443",
"icmp_type": "",
"proto_number": 0,
"description": "HTTP/3 (QUIC)"
},
{
"name": "DNS",
"protocol": "tcp/udp",
"ports": "53",
"icmp_type": "",
"proto_number": 0,
"description": "Domain Name System"
},
{
"name": "DOT",
"protocol": "tcp",
"ports": "853",
"icmp_type": "",
"proto_number": 0,
"description": "DNS over TLS"
},
{
"name": "NTP",
"protocol": "udp",
"ports": "123",
"icmp_type": "",
"proto_number": 0,
"description": "Network Time Protocol"
},
{
"name": "SSH",
"protocol": "tcp",
"ports": "22",
"icmp_type": "",
"proto_number": 0,
"description": "Secure Shell"
},
{
"name": "TELNET",
"protocol": "tcp",
"ports": "23",
"icmp_type": "",
"proto_number": 0,
"description": "Telnet"
},
{
"name": "FTP",
"protocol": "tcp",
"ports": "21",
"icmp_type": "",
"proto_number": 0,
"description": "File Transfer Protocol"
},
{
"name": "SMTP",
"protocol": "tcp",
"ports": "25",
"icmp_type": "",
"proto_number": 0,
"description": "Mail transfer"
},
{
"name": "SMTPS",
"protocol": "tcp",
"ports": "465,587",
"icmp_type": "",
"proto_number": 0,
"description": "Mail submission"
},
{
"name": "IMAPS",
"protocol": "tcp",
"ports": "993",
"icmp_type": "",
"proto_number": 0,
"description": "IMAP over TLS"
},
{
"name": "POP3S",
"protocol": "tcp",
"ports": "995",
"icmp_type": "",
"proto_number": 0,
"description": "POP3 over TLS"
},
{
"name": "SMB",
"protocol": "tcp",
"ports": "445",
"icmp_type": "",
"proto_number": 0,
"description": "Windows file sharing"
},
{
"name": "RDP",
"protocol": "tcp/udp",
"ports": "3389",
"icmp_type": "",
"proto_number": 0,
"description": "Remote Desktop"
},
{
"name": "VNC",
"protocol": "tcp",
"ports": "5900",
"icmp_type": "",
"proto_number": 0,
"description": "VNC"
},
{
"name": "SNMP",
"protocol": "udp",
"ports": "161-162",
"icmp_type": "",
"proto_number": 0,
"description": "SNMP"
},
{
"name": "SYSLOG",
"protocol": "udp",
"ports": "514",
"icmp_type": "",
"proto_number": 0,
"description": "Syslog"
},
{
"name": "LDAP",
"protocol": "tcp",
"ports": "389",
"icmp_type": "",
"proto_number": 0,
"description": "LDAP"
},
{
"name": "LDAPS",
"protocol": "tcp",
"ports": "636",
"icmp_type": "",
"proto_number": 0,
"description": "LDAP over TLS"
},
{
"name": "MYSQL",
"protocol": "tcp",
"ports": "3306",
"icmp_type": "",
"proto_number": 0,
"description": "MySQL / MariaDB"
},
{
"name": "POSTGRES",
"protocol": "tcp",
"ports": "5432",
"icmp_type": "",
"proto_number": 0,
"description": "PostgreSQL"
},
{
"name": "WIREGUARD",
"protocol": "udp",
"ports": "51820",
"icmp_type": "",
"proto_number": 0,
"description": "WireGuard"
},
{
"name": "OPENVPN",
"protocol": "udp",
"ports": "1194",
"icmp_type": "",
"proto_number": 0,
"description": "OpenVPN"
},
{
"name": "IKE",
"protocol": "udp",
"ports": "500,4500",
"icmp_type": "",
"proto_number": 0,
"description": "IPsec IKE / NAT-T"
},
{
"name": "DHCP",
"protocol": "udp",
"ports": "67-68",
"icmp_type": "",
"proto_number": 0,
"description": "DHCP"
},
{
"name": "MQTT",
"protocol": "tcp",
"ports": "1883,8883",
"icmp_type": "",
"proto_number": 0,
"description": "MQTT"
},
{
"name": "PROMETHEUS",
"protocol": "tcp",
"ports": "9273",
"icmp_type": "",
"proto_number": 0,
"description": "fr0ntier Prometheus exporter"
}
],
"service_groups": [
{
"name": "WEB",
"members": [
"HTTP",
"HTTPS",
"QUIC"
],
"description": "Web browsing"
}
],
"schedules": [
{
"name": "workhours",
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"start": "08:00",
"end": "18:00",
"description": "Office hours"
}
],
"policies": [
{
"id": 1,
"name": "LAN-to-Internet",
"enabled": true,
"src_intf": [
"LAN"
],
"dst_intf": [
"WAN"
],
"src_addr": [
"all"
],
"dst_addr": [
"all"
],
"service": [
"ALL"
],
"schedule": "always",
"action": "accept",
"log": true,
"nat": true,
"groups": null,
"comment": ""
}
],
"nat": {
"snat": [],
"dnat": []
},
"routes": [],
"dhcp": {
"servers": [
{
"interface": "port2",
"enabled": true,
"range_start": "192.168.10.100",
"range_end": "192.168.10.200",
"lease_time": "12h",
"gateway": "192.168.10.1",
"dns_servers": [
"192.168.10.1"
],
"domain": "lan",
"ntp_servers": [
"192.168.10.1"
],
"ipv6_ra": false,
"options": []
}
],
"static_leases": []
},
"dns": {
"enabled": true,
"upstreams": [
"tls://9.9.9.9#dns.quad9.net",
"tls://1.1.1.1#cloudflare-dns.com"
],
"bootstrap": [
"9.9.9.9",
"1.1.1.1"
],
"strategy": "failover",
"cache_size": 10000,
"min_ttl": 0,
"max_ttl": 86400,
"register_dhcp": true,
"rebind_protection": true,
"rate_limit_qps": 0,
"query_log": true,
"query_log_days": 7,
"anonymize_clients": false,
"records": [],
"forwarders": [],
"blocking": {
"enabled": true,
"mode": "null",
"update_hours": 24,
"lists": [
{
"name": "stevenblack-unified",
"url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
"enabled": true
},
{
"name": "hagezi-multi",
"url": "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/multi.txt",
"enabled": false
}
],
"allow": [],
"deny": []
},
"bypass_clients": []
},
"wireguard": [],
"openvpn": [],
"ipsec": [],
"users": [],
"user_groups": [],
"authentication": {
"lockout_attempts": 5,
"lockout_minutes": 15,
"password_min_length": 8,
"totp_issuer": "fr0ntier",
"email_code_length": 6,
"email_code_ttl_sec": 300
},
"email": {
"enabled": false,
"host": "",
"port": 587,
"security": "starttls",
"username": "",
"password": "",
"from": "",
"from_name": ""
},
"proxy": {
"settings": {
"enabled": false,
"interfaces": [],
"http_port": 80,
"https_port": 443,
"acme_email": "",
"acme_staging": false
},
"hosts": []
},
"firewall": {
"log_default_deny": true,
"log_backend": "nflog",
"log_rate": 20,
"fastpath": true,
"mss_clamp": true,
"conntrack_max": 0,
"synflood_protect": true,
"synflood_rate": 100,
"strict_rpf": false,
"ipv6_forwarding": true,
"icmp_rate": 20
},
"monitoring": {
"interval_sec": 10,
"raw_hours": 24,
"minute_days": 7,
"fivemin_days": 30,
"hour_days": 365,
"log_days": 30,
"log_max_mb": 2048,
"flow_log": false,
"smart": true,
"sessions": true,
"alerts": [
{
"name": "cpu-high",
"enabled": true,
"metric": "fr0ntier_cpu_usage_percent",
"labels": "",
"operator": "\u003e",
"threshold": 90,
"for_sec": 300,
"severity": "warning",
"notify": []
},
{
"name": "memory-high",
"enabled": true,
"metric": "fr0ntier_memory_used_percent",
"labels": "",
"operator": "\u003e",
"threshold": 90,
"for_sec": 300,
"severity": "warning",
"notify": []
},
{
"name": "temperature-high",
"enabled": true,
"metric": "fr0ntier_temperature_celsius",
"labels": "",
"operator": "\u003e",
"threshold": 80,
"for_sec": 60,
"severity": "critical",
"notify": []
},
{
"name": "throttled",
"enabled": true,
"metric": "fr0ntier_throttled_now",
"labels": "",
"operator": "\u003e",
"threshold": 0,
"for_sec": 30,
"severity": "critical",
"notify": []
},
{
"name": "disk-full",
"enabled": true,
"metric": "fr0ntier_disk_used_percent",
"labels": "",
"operator": "\u003e",
"threshold": 90,
"for_sec": 300,
"severity": "warning",
"notify": []
},
{
"name": "conntrack-full",
"enabled": true,
"metric": "fr0ntier_conntrack_used_percent",
"labels": "",
"operator": "\u003e",
"threshold": 90,
"for_sec": 120,
"severity": "critical",
"notify": []
},
{
"name": "gateway-down",
"enabled": true,
"metric": "fr0ntier_gateway_up",
"labels": "",
"operator": "\u003c",
"threshold": 1,
"for_sec": 30,
"severity": "critical",
"notify": []
},
{
"name": "gateway-loss",
"enabled": true,
"metric": "fr0ntier_gateway_loss_percent",
"labels": "",
"operator": "\u003e",
"threshold": 20,
"for_sec": 120,
"severity": "warning",
"notify": []
}
],
"notifiers": [],
"exporters": [
{
"name": "prometheus",
"enabled": false,
"type": "prometheus",
"streams": [
"metrics"
],
"address": ":9273",
"url": "",
"protocol": "",
"format": "",
"token": "",
"username": "",
"password": "",
"org": "",
"bucket": "",
"database": "",
"prefix": "",
"path": "",
"interval_sec": 0,
"allow_from": [],
"tls_insecure": false,
"header": "",
"keep_days": 0
}
]
}
}