Deben Oldert 7a3c3befea Update readme.md 11 gadi atpakaļ
..
ip-generator.sh e233a53f43 Update ip-generator.sh 11 gadi atpakaļ
readme.md 7a3c3befea Update readme.md 11 gadi atpakaļ
rules.sh bf558ac479 Update to version 2.1.13 11 gadi atpakaļ
users aa0614b135 Added more ip's 11 gadi atpakaļ

readme.md

HOW TO USE

Place the 2 files in the same folder (I recommend a folder named portal in the root folder "/portal/")
You can initialize the script by typing: bash /portal/rules.sh initialize
You can grand an ip access to the internet by typing: bash /portal/rules.sh grand XXX.XXX.XXX.XXX (The ip adrress)
If you want the script to run at system stratup edit the /etc/rc.local and add before "exit 0" this code:
bash /portal/rules.sh initialize