config: add new settings in examples for ver 0.4

This commit is contained in:
nadoo committed 2017-08-31 00:53:24 +08:00
1 parent ee6eec0b52
commit a839f8d195
5 files changed
+90 -18

No files matched your search

+29 -2
View File
@@ -49,9 +49,10 @@ listen=socks5://:1080
# listen on 1082 as a tcp tunnel, all requests to :1082 will be forward to 1.1.1.1:80
# listen=tcptun://:1082=1.1.1.1:80
# listen on udp port 53, act as a local dns server,
# a dnstun is a special dns forwarder server with a fixed remote dns
# listen on udp port 5353, act as a local dns server,
# forward all requests to 8.8.8.8:53 via tcp protocol
# listen=dnstun://:53=8.8.8.8:53
# listen=dnstun://:5353=8.8.8.8:53
# FORWARDERS
@@ -74,6 +75,7 @@ listen=socks5://:1080
# use comma to separate different upstream forward proxies.
#forward=http://1.1.1.1:8080,socks5://2.2.2.2:1080
# FORWARDE STRATEGY
# -----------------
# If we set up multiple forwarders, we can use them in our own strategy.
@@ -96,8 +98,33 @@ checkwebsite=www.apple.com
checkduration=30
# DNS FORWARDING SERVER
# ----------------
# A dns forwarding server listens on UDP and forward dns requests to remote dns server in TCP via forwarders
# we can specify different upstream dns server in rule file for different destinations
# Setup a dns forwarding server
dns://53
# global remote dns server (you can specify different dns server in rule file)
dnsserver=8.8.8.8:53
# IPSET MANAGEMENT
# ----------------
# Create and mange ipset on linux based on destinations in rule files
# - add ip/cidrs in rule files on startup
# - add resolved ips for domains in rule files by dns forwarder server
# Usually used in transparent proxy mode on linux
ipset=glider
# RULE FILES
# ----------
# Specify additional forward rules
# specify rules folder, so all *.rule files under this folder will be parsed as rule file
rules-dir=rules.d
# specify a rule file
#rulefile=office.rule
#rulefile=home.rule