mirror of
https://github.com/itdoginfo/ansible-openwrt-hirkn.git
synced 2025-12-15 11:34:29 +05:00
Added install script, openwrt 23.05, sing-box, tun2socks
This commit is contained in:
28
templates/sing-box-json.j2
Normal file
28
templates/sing-box-json.j2
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"log": {
|
||||
"level": "debug"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "tun",
|
||||
"interface_name": "tun0",
|
||||
"domain_strategy": "ipv4_only",
|
||||
"inet4_address": "172.19.0.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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user