config: add new settings in examples for ver 0.4

This commit is contained in:
nadoo committed 2017-08-31 00:53:24 +08:00
1 parent ee6eec0b52
commit a839f8d195
5 files changed
+90 -18

No files matched your search

+5 -1
View File
@@ -1,3 +1,7 @@
# Specify destinations in rule file without forwarders, so glider will bypass
# all forwarders and direct connect them instead
ip=127.0.0.1
cidr=192.168.1.0/24
cidr=192.168.1.0/24
domain=bypass.com
+7
View File
@@ -0,0 +1,7 @@
domain=mycompany.com
domain=mycompany1.com
ip=4.4.4.4
ip=5.5.5.5
cidr=cidr=172.16.101.0/24
cidr=cidr=172.16.102.0/24
+21 -9
View File
@@ -10,27 +10,39 @@ forward=socks5://192.168.1.10:1080
forward=ss://method:pass@1.1.1.1:8443
forward=http://192.168.2.1:8080,socks5://192.168.2.2:1080
# STRATEGY for multiple forwarders. rr|ha
strategy=rr
# FORWARDER CHECK SETTINGS
checkwebsite=www.apple.com
checkduration=30
# DNS SERVER for domains in this rule file
dnsserver=208.67.222.222:53
# IPSET
# specify a ipset for destinations in this rule file
#ipset=office
# DESTINATIONS
# ------------
# ALL destinations matches the following rules will be forward using forwarders specified above
# matches abc.com and *.abc.com
domain=abc.com
# matches 1.1.1.1
ip=1.1.1.1
# matches 192.168.100.0/24
cidr=192.168.100.0/24
# INCLUDE FILE
# we can include a list file with only destinations settings
include=office.list.example
# matches example.com and *.example.com
domain=example.com
domain=example1.com
domain=example2.com
domain=example3.com
# matches ip
ip=1.1.1.1
ip=2.2.2.2
ip=3.3.3.3
cidr=172.16.0.0/24
# matches a ip net
cidr=192.168.100.0/24
cidr=172.16.100.0/24