Skip to content

Commit

Permalink
修改readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bieberg0n committed Jun 8, 2018
1 parent 466ba97 commit cf7f0ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ sudo apt install python3 python3-pip
2. Clone:
```
$ git clone https://github.com/bieberg0n/bjdns.git
$ cd bjdns/bjdns2
$ cd bjdns/
```

3. Install requires:
Expand All @@ -30,12 +30,12 @@ $ sudo pip3 install -r requirements.txt
```
$ python3 bjdns2_client.py -h
Usage:
bjdns2_client.py (-s <BJDNS2_SERVER_ADDR>) (-i <BJDNS2_SERVER_IP>)
bjdns2_client.py (-s <BJDNS2_SERVER_ADDR>) (-i <BJDNS2_SERVER_IP>) [-d <DIRECT_DNS_SERVER>] [-l <LISTEN_IP_PORT>]
bjdns2_client.py (-c <CONFIG_FILE>)
Examples:
bjdns2_client.py -s "https://your.domain.name:your_port" -i "127.0.0.1"
bjdns2_client.py -s "https://your.domain.name:your_port" -i "127.0.0.1" -d "119.29.29.29" -l "127.0.0.1:53"
bjdns2_client.py -c "config.json"
Options:
Expand Down Expand Up @@ -87,4 +87,4 @@ curl https://your.domain.name/?dn=twitter.com
The **whitelist.json** file is modified from the file in [breakwa11](https://github.com/breakwa11)'s [gfw_whitelist](https://github.com/breakwa11/gfw_whitelist) project. The project uses the [MIT](https://github.com/breakwa11/gfw_whitelist/blob/master/LICENSE) license.

### License (GNU GPL3.0)
Copyright (c) 2017 bjong
Copyright (c) 2017-2018 bjong

0 comments on commit cf7f0ba

Please sign in to comment.