- Create new file
domain
and put there domain names like:
domain1.site
domain2.site
domain3.site
domain4.site
domain5.site
- Run script
makeroutes.sh
./makeroutes.sh
- if it not run make this:
chmod +x ./makeroutes.sh
- This script will generate two files
routes.bat
routes.cli
. - Clear routes in you keenetic router.
- You can import routes from
routes.bat
to your router with web-interface. - Also, you can import routes using
expect.sh
. You must turn on SSH-server on you keenetic router. - Create file
password.txt
with your password for keenetic router. - Run
expect.sh
:
./expect.sh
Note: makeroutes_srv.sh
, copy_to_srv.sh
, clearfolder.sh
my helper scripts.