doc: add info for setting interface

This commit is contained in:
nadoo 2018-08-21 07:57:21 +08:00
parent 8daa7784b0
commit 1d5ef167ec
2 changed files with 10 additions and 1 deletions

View File

@ -59,6 +59,7 @@ General:
- RR/HA/LHA strategy for multiple forwarders
- Periodical proxy checking
- Rule proxy based on destinations: [Config Examples](config/examples)
- Send requests from specific ip/interface
TODO:

View File

@ -104,6 +104,7 @@ listen=socks5://:1080
# Round Robin mode: rr
# High Availability mode: ha
# Latency based High Availability mode: lha
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
ipset=glider
# INTERFACE SPECIFIC
# ------------------
# Specify the outbound ip/interface.
#
# interface=""
# interface="192.168.1.100"
# interface="eth0"
# 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
rules-dir=rules.d