Deben Oldert 87f8aa848b Update readme.md 11 gadi atpakaļ
..
readme.md 87f8aa848b Update readme.md 11 gadi atpakaļ
rules.sh a8b353ad45 Create rules.sh 11 gadi atpakaļ
users c8f802c36a Create users 11 gadi atpakaļ

readme.md

HOW TO USE

Place the 2 files in the same folder (I recommend the root folder "/") You can initialize the script by typing: bash /rules.sh initialize You can grand an ip access to the internet by typing: bash 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 /rules.sh initialize'''