Mikrotik scripts

Taking care of your Linux box.
Post Reply
osama1
Lance Naik
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

Mikrotik scripts

Post by osama1 »

Anyone can provide me complete setup scripts for reference. I am new to Mikrotik and can understand things but just cant figure out how to implement it in production. i need dhcp, firewall, queue and user manager scripts. Any help would be appreciated.
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

Hi,

There are many scripts related to mikrotik available on internet. You can simply goto wiki.mikrotik.com there you will find many scripts for all purposes.

Mikrotik basically uses LUA scripting. Its a bit different from normal Linux scripting.

If you know Bash scripting, you can easily control complete mikrotik from linux console. Not that difficult.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
osama1
Lance Naik
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

Post by osama1 »

well i understand shell scripting. I have seen scripts at wiki and mikrotik sites and can understand easily. I need some scripts which are already time tested and in production for sometime and by using which I could migrate my existing redhat setup into Mikrotik with minor changes.
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

Hi,

Dear i can say for pretty damn sure that you will have a very hard time finding ready to use scripts for migrating.
What are you planning to migrate, like which services.

This will be easy for others to judge and give you adivse for the migration.

And you can always write a bash script to create a mikrotik rsc file for import.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
osama1
Lance Naik
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

Post by osama1 »

Dear Mudasir,
i have redhat setup having dhcp,squid, firewall, named, HTB. I can understand Mikrotik .rsc scripts very well and working in scripts for sometime now. I searched on internet for ready made mikrotik scripts but could not find. There are examples and no complete setup. You share your scripts on some site or email me if i found any difficulty then of course I can ask u for help.
mudasir
Captain
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Location: Dubai
Contact:

Post by mudasir »

Hi,

Scripts for what?
I can guide you in scripts related issues. However i might not be able to provide you my own scripts.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Post Reply