Mikrotik Configuration Manual Pdf

8 views
Skip to first unread message

Jenelle Centeno

unread,
Aug 4, 2024, 2:05:15 PM8/4/24
to achmaltangphal
Thispost is for those that want to know how to configure a MikroTik router; step by step. It is important to understand what must be done to successfully install a MikroTik router for internet access.

There are seven basic configuration requirements that must be met on a MikroTik router to provide internet access to all connected users. These tasks, some of which are not compulsory, are listed below and will be looked into one after the other.


System Identity is to MikroTik what hostname is to Cisco. Configuring system identity is part of the administrative configuration and is not compulsory. This is not part of the requirement to connect a router to the internet but is recommended especially when managing multiple routers. It allows an administrator easily identify a router.


Though not compulsorily required to connect a router to the internet, it highly recommended for the security of your network and network device. MikroTik routers have default username as admin with no password. Users are advised to change these settings.

To change username, click on system>>users>>double click on the admin user and change username from admin to something else. See image below.


At the most basic level, two IPs are required on the router to successfully connect users behind a Mikrotik router to the internet. These are the WAN and LAN IPs. Before the assignment of IPs, the WAN and LAN interfaces must have been chosen. In most cases, the ISP connection goes to ether1 while the LAN connection is plugged to ether2. If the ISP has dhcp enabled, then the ether1 on the Mikrotik can be configured as a dhcp client, otherwise, an IP will be configured manually. See here for how to configure a Mikrotik router interface as a dhcp client.


In most cases, a dhcp server will be required to help lease out IP addresses to connected users. Without a dhcp server, assignment of IPs can become a fulltime job, and if not properly done, there will IP conflicts.


Nat configuration is required for systems on the LAN to have access to the internet. It allows packets source IPs to be masqueraded with the public IP on the Mikrotik router as they exit the router via the WAN interface to the internet. To configure NAT on a Mikrotik simply enter the commands below.


For recovery purposes, it is possible to boot the device for reinstallation, see section Buttons and jumpers.MountingThe device is designed to use indoors and it can be mounted in a rackmount enclosure using provided rack mounts, or it can be placed on the desktop. Please attach rubber pegs on the bottom of the router if the desired placement is on the flat surface or use a Phillips screwdriver to attach rackmount ears on both sides of the device if designated use is for rackmount enclosure:


Attach rack ears to both sides of the device and tighten four screws to secure them in place;Place the device in a rackmount enclosure and align with the holes so that the device fits conveniently;Tighten screws to secure it in place.The device has no protection from water contamination, please ensure the placement of the device in a dry and ventilated environment. We recommend Cat6 cables for our devices.

Mounting and configuration of this device should be done by a qualified person.


The Ethernet ports are connected in two groups of five, each group is connected through a switch chip. The ports can be configured individually and support automatic cross/straightcable correction (Auto MDI/X), so you can use either straight or cross-over cables for connecting to other network devices.SFP+ port accepts SFP and SFP+ modules. Refer to the compatibility list _SFP_module_compatibility_tableRJ45 console port for serial console access, set by default to 115200 bit/s, 8 data bits, 1 stop bit, no parity.Buttons and jumpers

The RouterBOOT reset button has the following functions. Press the button and apply the power, then:


CE Declaration of Conformity

Manufacturer: Mikrotikls SIA, Brivibas gatve 214i Riga, Latvia, LV1039.Hereby, Mikrotīkls SIA declares that the radio equipment type RouterBOARD is in compliance with Directive 2014/53/EU. The full text of the EU declaration of conformity is

available at the following internet address:


@manualsplus YouTubeManuals+,Privacy PolicyThis website is an independent publication and is neither affiliated with nor endorsed by any of the trademark owners. The "Bluetooth" word mark and logos are registered trademarks owned by Bluetooth SIG, Inc. The "Wi-Fi" word mark and logos are registered trademarks owned by the Wi-Fi Alliance. Any use of these marks on this website does not imply any affiliation with or endorsement.


WARNING!

This manual setup method suggested below is for network professionals only with massive knowledge of Mikrotik routers. It is useful only if you wish to keep your original configuration for some reason.

Please use our SIMPLE INSTALLATION GUIDE FOR MIKROTIK INSTEAD!



If you have important existing config on your router export it using the command:

/export file=myconfig.rsc;

Follow our Simple Guide to setup hotspot on your router.

Test the hotspot. If all good import your exported config in small batches.

Before running a batch try to check if this will conflict with the hotspot config or not. After all batches ran check the result. If errors given analyze the errors. Hopefully irrelevant but you have to make it sure.


Important note: This setup method cover only our core install.

Additional scipts like our PSD2 solution, Secure SSL router pages, etc. are available only for our Simple Install.

You can install them if you go to Location Management page in our Control Center scrolling down to section Router Setup Command just uncheck Base Install script and all other scripts except for the one you want to add to your manual install. Copy the script and fit it to your config.

We don't match it to all possible config combinations. You know your config and using manual setup you declare you have the knowledge to use and manage your special config.


Important note: This solution requires a Hotspot Operator Account at HotSpotSystem.com. You can create an Operator Account here. If you would like to see what features you will be able to use with our solutions, click here. If you already have an Operator Account, then read on...


2. Let's add the hotspot service to wlan Click IP > HotSpot and the hotspot Setup box, choose wlan1 as hotspot interface. You can accept default values but choose none for certificate. Leave the IP as it is (10.5.50.x). If you change this IP, the LOGIN and LOGOUT links will not work on your splash page.


In the hotspot profiles (IP > HotSpot > Profiles) choose your hotspot profile and click the radius tab, check allow radius. Then click the login tab and de-select cookie, allow https, http pap and chap.


For Hotspot FREE SOCIAL locations: you need to add several domains/hosts to the allowed field in order to allow users to log in to there favorite social site. Please follow this article to add these domains/hosts to the whitelist.


Click on System > NTP Client. Enter primary and secondary NTP servers. To find NTP servers, go to and select the location's continent on the right side of the page. You'll find NTP servers there.


NOTE: In case you are installing multiple routers in the same location, you should use different NAS IDs. For the second routers you need to add '_wds_1' to the NAS Id, for the third router '_wds_2', etc. So for example if you want to install the second router in location 3, the NASID should be set to 'globalhotspot_3_wds_1'.


UPGRADE WARNING: In case you upgrade your router with new firmware you have to hardreset your router after the upgrade and reinstall it with our script. If you have special network settings you can export the settings and import the settings after the reset.


ExpressVPN no longer supports the PPTP and L2TP manual configurations as they provide minimal protection and are vulnerable to malicious attacks. This guide will show you other setup methods or protocols you can use to connect to ExpressVPN on your specific device.


You are recommended to use the ExpressVPN Windows app, which is compatible with Windows 7 and above. If you are using Windows Vista or Windows XP, update your operating system to a newer version. If you cannot update it, you will have to use the OpenVPN manual configuration.


You are recommended to use the ExpressVPN Mac app, which is compatible with Mac OS X 10.11 and above. If you are using Mac OS X 10.11 or below, update your operating system to a newer version. If you cannot update it, you will have to use the OpenVPN manual configuration.


For iOS devices (iPhone and iPad), the only way to use ExpressVPN is with the ExpressVPN iOS app, which is compatible with iOS 15 and above. If you are using iOS 14 or below, update your operating system to a newer version to access the latest features and security improvements for the ExpressVPN app for iOS.


When it comes to MikroTik, you can pretty much run everything out of the box using the Quickset option. However, sometimes you may want to override the initial basic configuration manually. So, in this blog article, we will start configuring MikroTik from scratch.


CLI (Command Line Interface): Similar to other network devices, you can access the MikroTik router CLI by establishing an SSH connection. You can use tools like PuTTY or the Command Prompt in Windows 11 to SSH into the device.


Once I connected the internet link, I immediately received an IP address from my ISP. This IP address corresponds to the Ether1 port, while the bridge configuration assigns 192.168.88.1 to the port2 within the network.


However, please ensure that you do not move the ports to the new bridge at this stage. If you do so, you will be kicked out from the management GUI, which will prevent you from proceeding with the remaining configurations.

3a8082e126
Reply all
Reply to author
Forward
0 new messages