diff --git a/.gitignore b/.gitignore index f009e21..89e981d 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ config/rules.d/*.list glider bak/ +rules.d/ diff --git a/config/examples/9.transparent_proxy_without_dnsmasq/README.md b/config/examples/9.transparent_proxy_without_dnsmasq/README.md index da874f9..5186b98 100644 --- a/config/examples/9.transparent_proxy_without_dnsmasq/README.md +++ b/config/examples/9.transparent_proxy_without_dnsmasq/README.md @@ -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 #### 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) 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 diff --git a/config/rules.d/bypass.rule.example b/config/rules.d/bypass.rule.example deleted file mode 100644 index a7fafa0..0000000 --- a/config/rules.d/bypass.rule.example +++ /dev/null @@ -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