Questions tagged [mikrotik]

MikroTik is a Latvian company which was founded in 1995 in Riga to develop routers and wireless ISP systems. MikroTik now provides hardware and software for Internet connectivity in most of the countries around the world.

328 questions
-1
votes
1 answer

Mikrotik: change usermanager user password using PHP API

I'm trying to create a PHP code that can change a user password using PHP API, here is my code so far: debug = true; if ($API->connect('192.168.0.101', 'user', 'password'))…
evertjr
  • 3
  • 1
  • 3
-1
votes
2 answers

How to detect a power failure?

I want to be able to perform an action on power failure i.e when electricity goes off since my network routers are on UPS so it doesn't know about power failures so somehow I want to be able to store the power failure data into a text file through…
Umair Shah
  • 2,305
  • 2
  • 25
  • 50
-1
votes
2 answers

how i can create a regex code to involve all gmails url

how i can create a regex code to involve all gmails url thanks alot
-1
votes
1 answer

customize mikrotik hotspot firewall rules

I have a router os installed on a virtual server, with 3 interfaces: lan-192.168.1.1/24 wan-192.168.2.1/24 wifi-192.168.3.1/24 I have a PPOE client to connect over WAN to ISP and get static public IP x.x.x.x I have a windows server with DNS,…
-1
votes
1 answer

Script in mikrotik to Login into public hotspot captive portal

i have a public hotspot captive portal that i want login automatically using my mikrotik router, the ideia is by cronjob or something perform a form post with the credencials to login into that public hotspot, then the mikrotik router will work as…
-1
votes
1 answer

how to set captive portal on mikrotik router?

I wanted to set up captive portal on mikrotik router,i have created a login.php page what i want is that whenever any user connects to the hotspot then they should get redirected to login.php page.
sagar
  • 43
  • 2
  • 5
-1
votes
2 answers

Set a static ip range for clients to use on Mikrotik router

I have a Mikrotik router, and I just want to know How do I set a IP Range that I can use if I want to set a static ip on a PC or Printer, I already know How to assign a static ip to a device via the mac address. but I want a small ip range that I…
S. Van Wyk
  • 11
  • 1
  • 2
-1
votes
1 answer

Connecting 2 lans to access internet in mikrotik on virtualbox

I need to get my virtual machines to get connected to internet via mikrotik router machine. my setups are as follows. my home network is 192.168.1.0/24 my ADSL router has ip 192.168.1.1 I have following machines in virtual box. machine 1: Mikrotik…
-1
votes
1 answer

Create a web log for Internet access

I have a computer with Internet access to the network by using a LAN proxy . I want to provide access when opening the browser will display the login menu if the login is successful then it could access the internet. Whether it can be done ? I know…
Duwi irwanto
  • 137
  • 1
  • 3
  • 12
-1
votes
1 answer

Routing between 2 LAN

I have Mikrotik router with Wifi connected to: WAN/internet on port ether1. Other ports are for LAN 10.0.1.*. Only port ether8 is connected to another simple POE switch. Four IP cameras with static IP are connected. This is LAN2 192.168.50.*. Port…
Honza
  • 335
  • 3
  • 14
-1
votes
2 answers

How to get on mikrotik list of arp records at port

CRS125-24G-1S routeros 6.32.3 How I can determinate list of arp records (mac addresses) for one port? Port marked as slave to ether1-master-local.
-1
votes
3 answers

Mikrotik Script - all table columns

I'm trying to have a script run daily that would email the list of recently activated users. I cannot find a command that would list what i see in userman 'Users' screen. I need to fire a script daily of the couple of users that got activated last…
devsahem
  • 83
  • 3
  • 15
-1
votes
1 answer

Mikrotik - How to set routes

I am using Mikrotik as DNS server and main router. I have two DNS records, say x.x.x.1 and x.x.x.2 for mail server mail.example.com and trying to find solution when first server is down and Mikrotik can automatically route it to second…
user2171131
  • 19
  • 1
  • 5
-1
votes
1 answer

Allow NAT from single external address - Mikrotik

I have an RB951G-2HnD that I'm trying to create a rule to allow 1143 through from WAN to a particular server on the LAN. I've created a rule, but I want to limit access to 1143 to a single external IP address. Any tips on how I can limit it to a…
emike09
  • 11
  • 1
  • 1
-1
votes
2 answers

Mikrotik Routing between two subnet in one interface

I have such configuration for my network. WAN: ether1 10.20.30.5/24 LAN: ether5 192.168.1.254/24 and 192.168.10.254/24(DHCP) I have Created Some queue for those ips. I have to Access File/Folders from a Local Windows Server(192.168.1.2). When i…