Skip to content

kirill-zak/UnblockDomains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnblockDomains

OpenWRT scripts for unblock domains. Tested with OpenWRT 15.05.1 (CHAOS CALMER)

How to use

Few steps

1. Install OpenVPN

Install OpenVPN into OpenWRT device

2. Install package bind-hos

opkg update
opkg install bind-host

3. Copy scripts into router

From host mashine

scp unblocker.sh /etc/openvpn/unblocker.sh

Set executable flag

In router

chmod +x unblocker.sh

4. Add settings and domain configuration files

Run in folder with scripts

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

./unblocker.sh

Optional

You can add you own DNS server - just add it into dns.conf.