mirror of
				https://github.com/nadoo/glider.git
				synced 2025-11-04 15:52:38 +08:00 
			
		
		
		
	doc: update
This commit is contained in:
		
							parent
							
								
									0234995814
								
							
						
					
					
						commit
						6a9b2cb8c9
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -23,3 +23,4 @@ config/rules.d/*.list
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
glider
 | 
					glider
 | 
				
			||||||
bak/
 | 
					bak/
 | 
				
			||||||
 | 
					rules.d/
 | 
				
			||||||
 | 
				
			|||||||
@ -75,7 +75,7 @@ iptables -t nat -I OUTPUT -p tcp -m set --match-set glider dst -j REDIRECT --to-
 | 
				
			|||||||
use the linux server's ip as your dns server
 | 
					use the linux server's ip as your dns server
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### When client requesting to access http://example1.com (in office.rule), the whole process:
 | 
					#### When client requesting to access http://example1.com (in office.rule), the whole process:
 | 
				
			||||||
Dns Resolving: 
 | 
					DNS Resolving: 
 | 
				
			||||||
1. client sends a udp dns request to linux server, and glider will receive the request(as it listen on default dns port :53)
 | 
					1. client sends a udp dns request to linux server, and glider will receive the request(as it listen on default dns port :53)
 | 
				
			||||||
2. upstream dns server choice: glider will lookup it's rule config and find out the dns server to use for this domain(matched "example1.com" in office.rule, so 208.67.222.222:53 will be choosen)
 | 
					2. upstream dns server choice: glider will lookup it's rule config and find out the dns server to use for this domain(matched "example1.com" in office.rule, so 208.67.222.222:53 will be choosen)
 | 
				
			||||||
3. glider uses the forwarder in office.rule to ask 208.67.222.222:53 for the resolve answers
 | 
					3. glider uses the forwarder in office.rule to ask 208.67.222.222:53 for the resolve answers
 | 
				
			||||||
 | 
				
			|||||||
@ -1,7 +0,0 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
# 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
 | 
					 | 
				
			||||||
domain=bypass.com
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user