hello, please share to me hot to use API Mikrotik rOs V6 using the programming language #!/usr/bin/lua,
I searched on the internet for the PHP programming language
hello, please share to me hot to use API Mikrotik rOs V6 using the programming language #!/usr/bin/lua,
I searched on the internet for the PHP programming language
Do not know what to think. You need LUA library but you are looking for PHP library. Strange. If you want to eat an apple are you looking for plums? What’s wrong with you?
It seems to be a" no brainer" job to find some info: https://letmegooglethat.com/?q=lua+mikrotik+%20library
If you have a Mikrotik device that’s support containers you can install lua and even php in one of them if you want.
And make a transcription layer between lua and php to RouterOS-API.
My suspicion is that a “wise AI” asked for help returned so called “configuration script” designated for ROS based device and as the very first line starts with: #!/usr/bin/lua (as in post http://forum.mikrotik.com/t/re-setting-up-policy-based-routing-with-mikrotik-hex-refresh-for-selective-vpn-traffic/182412/4) the OP is puzzled what to do next.
@BartoszP Thanks I needed a good laugh this morning!