Deben Oldert a4fb7a41f6 Update readme.md 10 سال پیش
..
ip-generator.sh 27db624461 Small bug fixed 11 سال پیش
readme.md a4fb7a41f6 Update readme.md 10 سال پیش
rules.sh 88e7446910 Restore files 10 سال پیش
users 88e7446910 Restore files 10 سال پیش

readme.md

HOW TO USE

Place the rules.sh and the users files in the same folder (I recommend a folder named portal in the root folder "/portal/")
You can initiate 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