mirror of
				https://github.com/nadoo/glider.git
				synced 2025-11-04 07:42:38 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Glider rule configuration file.
 | 
						|
# 
 | 
						|
# Format is the same as glider main config file.
 | 
						|
# EXCEPTION: Listeners are NOT allowed to setup here.
 | 
						|
 | 
						|
# FORWARDERS
 | 
						|
# ----------
 | 
						|
# Forwarders, we can setup multiple forwarders.
 | 
						|
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
 | 
						|
 | 
						|
# 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
 | 
						|
 | 
						|
# matches a ip net
 | 
						|
cidr=192.168.100.0/24
 | 
						|
cidr=172.16.100.0/24
 |