glider/config/examples/9.transparent_proxy_without_dnsmasq/rules.d/office.rule

29 lines
510 B
Plaintext
Raw Normal View History

2017-07-30 11:44:34 +08:00
forward=http://forwarder1:8080
# first connect forwarder2 then forwarder3 then internet
2017-07-30 13:04:57 +08:00
forward=http://forwarder2:8080,socks5://forwarder3:1080
2017-07-30 11:44:34 +08:00
# Round Robin mode: rr
# High Availability mode: ha
strategy=rr
checkwebsite=www.apple.com
2017-07-30 11:44:34 +08:00
checkduration=30
# specify a different dns server(if need)
dnsserver=208.67.222.222:53
# specify destinations
2018-11-21 20:28:46 +08:00
include=office.list
domain=example1.com
domain=example2.com
# matches ip
ip=1.1.1.1
ip=2.2.2.2
# matches a ip net
cidr=192.168.100.0/24
cidr=172.16.100.0/24