44d3593944
- Поднята версия awg2-harness до 0.1.4 - Обновлены production defaults: peer_limit=50mbit, root_rate=500mbit - Добавлен systemd anti-flapping rate-limit и увеличен RestartSec - Синхронизирована документация CONFIGURATION/MIGRATION
41 lines
807 B
TOML
41 lines
807 B
TOML
[amnezia]
|
|
container_names = ["amnezia-awg2", "amnezia-awg"]
|
|
interface_candidates = ["awg0", "wg0", "amnezia0", "tun0"]
|
|
interface_patterns = ["awg*", "wg*", "amnezia*", "tun*"]
|
|
peer_ipv4_cidr = "10.8.1.0/24"
|
|
|
|
[traffic]
|
|
enabled = true
|
|
peer_limit = "50mbit"
|
|
root_rate = "500mbit"
|
|
reconcile_interval_secs = 15
|
|
container_ready_timeout_secs = 120
|
|
class_start_id = 10
|
|
ifb_name = "ifb0"
|
|
|
|
[host_firewall]
|
|
enabled = true
|
|
ssh_port = 2323
|
|
amnezia_port = 443
|
|
amnezia_protocols = ["udp"]
|
|
allow_icmp = true
|
|
default_input_policy = "drop"
|
|
|
|
[anti_torrent]
|
|
enabled = true
|
|
max_connections_per_peer = 150
|
|
peer_ipv4_cidr = "10.8.1.0/24"
|
|
apply_in_amnezia_netns = true
|
|
|
|
[reboot]
|
|
enabled = true
|
|
window_start_utc = "01:00"
|
|
window_end_utc = "02:00"
|
|
|
|
[swap]
|
|
enabled = true
|
|
path = "/swapfile"
|
|
size_mb = 2048
|
|
priority = 1
|
|
swappiness = 1
|