What's the point? Try to share more details. If it's some non-public domain, you could do some filtering on that. But then I'd expect also internal addresses and there would have to be some VPN to access them, so just use it for accessing DNS server too. If it's resolver for regular public domains,...
Hello, I am building a private DNS server using Mikrotik with remote requests enabled. My clients are connected to my server from the WAN port and they are not on the same network ( Not local clients ). So, aside from the IP Address because it changes everytime the client reboots the router, is ther...
Hello, I have Mikrotik RB750GR3 with this config: ISP -> Mikrotik PPPOE Server -> PPPOE Router I have a public IP on my Mikrotik and I want to access the PPPOE Router on port 80. I checked the PPP Active connection and the PPPOE Router has an address: 10.0.138.182 So, I tried to add this nat rule: a...
Hello, I have configured y RB951UI( v7.1 ) to enable hotspot login with HTTPS, I have configured my certificates and enabled www-SSL in the services, & enabled hotspot login with HTTPS & HTTPS redirect in the hotspot profile options. but my hotspot login page is not opening when I visit http...
Hello, I am planning to build a project that will use Mikrotik as an authentication gate, I can code in PHP, JS & C# but it's been years since I have dealt with Mikrotik API and much of things have changed. So I wonder which language today between those three languages I have mentioned has the m...
thank you the last one worked .. but can i add more than 2 options like this code API.Send("/interface/print"); API.Send("?name=WAN"); API.Send("?name=Local"); API.Send("?name=Bridge1"); API.Send("?#&!", true); or API.Send("/interface/print&...
hi, how to send a command to mikrotik through API to print all results that is not equal to something i tried to do smothing like this API.Send("/interface/print"); API.Send("?name !=WAN", true); or this API.Send("/interface/print"); API.Send("!name=WAN", true...
hi and sorry about my next bad english :) i want to make a small tool look like winbox using c# api class and this the class link http://wiki.mikrotik.com/wiki/API_in_C_Sharp but when i add a code inside a timer to update cpu-load and uptime every 5 second the form hang's and freeze for a moment eve...
hi i hava more than 254 client so i used subnetmask /22 and now i have mor than 1000 ip address my problem : i have local server inside my network with ip address 192.168.1.2 i can't access this local server from the computers with different ip class that is mean i can't access local server from com...
i have a good solution if the client browser don't support javascript i will make the form display:none; and i will make another div with display:block; and i will write inside this div a message say " Your browser must support javascript " or something like that and i will write javascrip...
yes i did it but i used onsubmit event to execute javascript function before form submission this function takes the username and password then send them to check.php in check.php i can do what i want and if i want to stop login I use return false to stop the form submission then print the error ins...
hi, i need to build an external hotspot using API and php because i want to add some other options to my hotspot i want to know how i can login to mikrotik server using API, i mean i need to make login form on my php server and the user can use this form to login to my hotspot server is this possibl...
hi, i hope my bad english helping me to explain my problem :) i have mikrotik pppoe server and i have a problem the connection some times dropped automatically from active connection and sometimes in interfaces appear connection <pppoe-0> this problem is not with all computers my computer is always ...
hi im not good in English but i will try to explain my problem i have a problem with dns redirect i'm trying to redirect www.myname.com to 10.0.0.1 when i add it to dns static it works but sometimes its stooping the redirect to my local address and navigate to another site so how i can make it alway...
thanks mr boen Yes, but only in menus where the other thing is required to be unique, such as the name of a simple queue how i can use set with name field in simple queue i use this code if ($API->connect("$ip", "$user", "$pass")) { $API->write('/queue/simple/set',false...
thanks for your reply i don't have many queue it's only 1 queue I use mikrotik as pppoe server and with pppoe server i can't share files with lan speed so i use a simple queue in the top of the menu to open the download speed if the dst-address is 1.1.1.0/24 this the export of my simple queue this q...
hi i have a small question about set and remove in api when i want to remove something i use this code if ($API->connect("$ip", "$user", "$pass")) { $API->write('/ppp/active/remove',false); $API->write("=.id=$id"); $READ = $API->read(false); $ARRY = $API->pars...
hi i have mangle rule i use it to calculate pppoe user bandwidth this is the rule /ip firewall mangle add action=passthrough chain=forward comment=11 disabled=no layer7-protocol=\ !smt out-interface=<pppoe-11> it works fine and calculate the bandwidth but when i add anew rule to nat to redirect conn...
hi I'm using API Php Class But I want to know why api is too slow why it is not like winbox it's take long time to disable,enable,add or remove for example i have 600 user on rb750gl i can enable and disable all users but it's take long time may be 5 minutes or more but via winbox just seconds this ...
how i can calculate bandwidth usage for pppoe client via firewall client address 1.1.1.254 i'm using this rule to calculate bandwidth usage /ip firewall filter add action=passthrough chain=forward disabled=no src-address=1.1.1.254 but it does not accurately calculate bandwidth usage because when i'm...
i have a layer7 protocol to detect torrent sites. it work fine and i can drop connection from filter rules but i don't need to drop connection i want to redirect connection to another address i tried to do that via nat but it didn't work. so how i can redirect the site which detected by layer7 to an...
Hi All, I Want to Deny Client Pc From Dhcp-Server Using It's Mac-Address I Mean The Client Pc Can't Take Ip-Address From Dhcp-Server I don't Need To Block The Client From Using The Internet But I need To Block The Client From Taking Automatic Ip-Address But If The Client Set Manual Ip-Address He Can...
thanks 1 - i have an account on 000webhost and i tried to test my script on it before some months but it didn't work maybe it was problem in my script. anyway i will try again 2 - i'm with you the own server is the best and i use linux server to test my work and it worked good but i want to test my ...
hello all before anything I apologize about my bad english because it's not my original language my question is : i want free host which I can run API class because i tested my script on many free hosts but unfortunatly the disabled functions stoped my script So i hope any one here know free hosting...
thanx fsockopen is the problem orioncites said this function disabled this is the phpinfo http://www.orionstorage.com/info.php and i use * RouterOS PHP API class v1.4 * Author: Denis Basta please tell me if any functions disabled i will ask them to enable fsockopen but if they refused can i replace ...
Hi All what is server requirements to run api php class because when im trying to use api php class it can't connect to the server api service enabled in mikrotik the same class worked on free space ( heliohost.org hosting ) but it didn't work on my site ( orioncities.com hosting ) any body can help...
hi i can't speak english well but i will trying to explain im usin API Php Class and im trying to build ppp configuration menu when im trying to edit ppp profile im using $API->write('/ppp/profile/set', false); $API->write("=.id=$id",false); $API->write("=local-address=1.1.1.1",t...