-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add section to use Google DNS and fix errors
- Loading branch information
1 parent
b7db02c
commit 1dce0bc
Showing
2 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,43 @@ | ||
# UnblockDomains | ||
Scripts for unblock domains | ||
OpenWRT scripts for unblock domains | ||
|
||
# How to use | ||
Few steps | ||
|
||
## 1. Install OpenVPN | ||
Install OpenVPN into OpenWRT device | ||
|
||
## 2. Install package bind-hos | ||
```sh | ||
opkg update | ||
opkg install bind-host | ||
``` | ||
|
||
## 3. Copy scripts into router | ||
From host mashine | ||
```sh | ||
scp unblocker.sh /etc/openvpn/unblocker.sh | ||
``` | ||
|
||
### Set executable flag | ||
In router | ||
```sh | ||
chmod +x unblocker.sh | ||
``` | ||
|
||
|
||
## 4. Add settings and domain configuration files | ||
Run in folder with scripts | ||
```sh | ||
echo TUN=`ifconfig | grep tun | awk '{print $1}'` > settings.conf | ||
touch domains.conf | ||
``` | ||
|
||
## 5. Add domains | ||
Add list of domains into `domains.conf` | ||
|
||
## 6. Run script | ||
```sh | ||
./unblocker.sh | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters