Files
ansible-openwrt-hirkn/templates/sing-box-json.j2
itdoginfo a0e8084e87 Fixed IP
2023-11-03 17:47:05 +03:00

28 lines
550 B
Django/Jinja

{
"log": {
"level": "debug"
},
"inbounds": [
{
"type": "tun",
"interface_name": "tun0",
"domain_strategy": "ipv4_only",
"inet4_address": "172.16.250.1/30",
"auto_route": false,
"strict_route": false,
"sniff": true
}
],
"outbounds": [
{
"type": "$TYPE",
"server": "$HOST",
"server_port": $PORT,
"method": "$METHOD",
"password": "$PASS"
}
],
"route": {
"auto_detect_interface": true
}
}