Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cokebar committed Feb 14, 2015
1 parent 8fdf80b commit cf2d397
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,27 @@ Just another script to auto-generate dnsmasq ipset rules using gfwlist

Using:
-----
### First git clone
#### First git clone
```bash
git clone https://github.com/cokebar/gfwlist2dnsmasq.git
```
### Modify gfwlist2dnsmasq.sh:
#### Change this to your DNS server:
#### Modify gfwlist2dnsmasq.sh:
Change this to your DNS server:
```bash
DNS='127.0.0.1#5353'
```

#### Change this to your ipset name:
Change this to your ipset name:
```bash
IPSET=gfwlist
```

#### Path to save you rule file:
Path to save you rule file:
```bash
RULE_FILE=./dnsmasq_list.conf
```

#### Add your own extra domain here. One domain in a line. eg:
Add your own extra domain here. One domain in a line. eg:
```bash
EX_DOMAIN='.google.com
.google.com.hk
Expand Down

0 comments on commit cf2d397

Please sign in to comment.