-
-
Notifications
You must be signed in to change notification settings - Fork 224
/
config_sample.json
80 lines (80 loc) · 1.78 KB
/
config_sample.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"provider": "DNSPod",
"password": "",
"login_token": "",
"domains": [
{
"domain_name": "example.com",
"sub_domains": [
"www",
"test"
]
},
{
"domain_name": "example2.com",
"sub_domains": [
"www",
"test"
]
}
],
"ip_urls": [
"https://api4.ipify.org",
"https://myip.biturl.top",
"https://ipecho.net/plain",
"https://api-ipv4.ip.sb/ip",
"https://ip2location.io/ip",
"https://ipinfo.io/ip"
],
"ipv6_urls": [
"https://api6.ipify.org",
"https://api-ipv6.ip.sb/ip",
"https://ip2location.io/ip",
"https://v6.ipinfo.io/ip"
],
"ip_type": "IPv4",
"interval": 300,
"resolver": "8.8.8.8",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36",
"ip_interface": "eth0",
"mikrotik": {
"enabled": false,
"server": "http://192.168.88.1:81",
"username": "admin",
"password": "",
"interface": "pppoe-out"
},
"web_panel": {
"enabled": true,
"addr": "0.0.0.0:9000",
"username": "admin",
"password": "123456"
},
"socks5_proxy": "",
"use_proxy": false,
"debug_info": false,
"proxied": false,
"skip_ssl_verify": false,
"notify": {
"telegram": {
"enabled": false,
"bot_api_key": "",
"chat_id": "",
"message_template": ""
},
"mail": {
"enabled": false,
"smtp_server": "",
"smtp_username": "",
"smtp_password": "",
"smtp_port": 25,
"send_from": "",
"send_to": ""
}
},
"webhook": {
"enabled": false,
"url": "http://localhost:5000/api/v1/send",
"request_body": "{ \"domain\": \"{{.Domain}}\", \"ip\": \"{{.CurrentIP}}\", \"ip_type\": \"{{.IPType}}\" }"
}
}