mirror of
				https://github.com/nadoo/glider.git
				synced 2025-11-04 15:52:38 +08:00 
			
		
		
		
	doc: add info for setting interface
				
					
				
			This commit is contained in:
		
							parent
							
								
									8daa7784b0
								
							
						
					
					
						commit
						1d5ef167ec
					
				@ -59,6 +59,7 @@ General:
 | 
				
			|||||||
- RR/HA/LHA strategy for multiple forwarders
 | 
					- RR/HA/LHA strategy for multiple forwarders
 | 
				
			||||||
- Periodical proxy checking
 | 
					- Periodical proxy checking
 | 
				
			||||||
- Rule proxy based on destinations: [Config Examples](config/examples)
 | 
					- Rule proxy based on destinations: [Config Examples](config/examples)
 | 
				
			||||||
 | 
					- Send requests from specific ip/interface
 | 
				
			||||||
 | 
					
 | 
				
			||||||
TODO:
 | 
					TODO:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -104,6 +104,7 @@ listen=socks5://:1080
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Round Robin mode: rr
 | 
					# Round Robin mode: rr
 | 
				
			||||||
# High Availability mode: ha
 | 
					# High Availability mode: ha
 | 
				
			||||||
 | 
					# Latency based High Availability mode: lha
 | 
				
			||||||
strategy=rr
 | 
					strategy=rr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -148,10 +149,17 @@ dnsrecord=www.example.com/2606:2800:220:1:248:1893:25c8:1946
 | 
				
			|||||||
# Usually used in transparent proxy mode on linux
 | 
					# Usually used in transparent proxy mode on linux
 | 
				
			||||||
ipset=glider
 | 
					ipset=glider
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# INTERFACE SPECIFIC
 | 
				
			||||||
 | 
					# ------------------
 | 
				
			||||||
 | 
					# Specify the outbound ip/interface.
 | 
				
			||||||
 | 
					# 
 | 
				
			||||||
 | 
					# interface=""
 | 
				
			||||||
 | 
					# interface="192.168.1.100"
 | 
				
			||||||
 | 
					# interface="eth0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# RULE FILES
 | 
					# RULE FILES
 | 
				
			||||||
# ----------
 | 
					# ----------
 | 
				
			||||||
# Specify additional forward rules
 | 
					# Specify additional forward rules.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# specify rules folder, so all *.rule files under this folder will be parsed as rule file
 | 
					# specify rules folder, so all *.rule files under this folder will be parsed as rule file
 | 
				
			||||||
rules-dir=rules.d
 | 
					rules-dir=rules.d
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user