This is the first topic of me at the forum,
As well as the first treated me with Mikrotik php API
I want to know the requirements needed to start using Mikrotik php API Web surfer Outdoor and I want to control my Mikrotik from anywhere in the Internet, you will want an answer with an example and not to please Links
For my PHP client, PHP 5.3.0 is pretty much the only requirement. You also need a RouterOS 3.0 or greater to use the API in general (not just PHP).
That’s it… unless I’m missing something… in particular, what do you mean with “Web surfer Outdoor”?
sorry,
i mean control with php api from my web server out of my network
i have another Q :
ip ==> is this the ip of winbox login or ADSL router
username ==> is this the username of winbox login or ADSL router
password ==> is this the password of winbox login or ADSL router
and there is any thing after
Your questions are all answered in the wiki. Give it a try, it doesn’t bite ![]()
anyway, if you are trying to access from outside (WAN) then, IP is your public IP. User and password are the router board login info.
Enviado desde mi LG-D805 mediante Tapatalk
@adam
I know you said “no links”, but with regards to what gargola said…
Your questions are all answered in the wiki. Give it a try, it doesn’t bite >
…It’s this wiki page in particular.
The IP, username and password all refer to those of the RouterOS you want to connect to (or, as you said, the Winbox details).
Some ADSL routers establish their own network, while others just transparently forward all traffic (except maybe a single management port), so a word of caution: Try to connect to RouterOS from your web server using Winbox first. If you can do that, chances are you’ll also be able to use the API afterwards. If not, you may need to configure your ADSL router to forward traffic to the RouterOS router.