![]() MikroTik Routers have become very popular in recent years because they help you create a stable and secure home or office network at an affordable price.įor this tutorial I have used the MikroTik RB760iGS – hEX S 5- port Gigabit Ethernet router and the WinBox utility to configure MikroTik to act as a Router (with NAT) with the following IP settings: Also don’t forget to update your device firmware in “System > RouterBOARD” to avoid any unnecessary bugs and problems while using it.This tutorial contains instructions on how to setup MikroTik for the first time. npk update file saved un your computer you can update your device by uploading that file to the root of the device in the “Files” menu, followed by a device reboot. In case if your router doesn’t have access to the internet and you have the necessary. ![]() How do you update your device if your internet is down? ![]() To restore configuration that you recently saved to a file, in terminal windows type: Configuration file also remains undeleted if routers settings are reset to default. PLEASE NOTE that when you save your configuration, your router password doesn’t save for safety reasons, which you’ll have to set in “System > Password” upon restoring. Our saved file will be located on the root of the devices in “Files” where you can save it to your computer by right clicking on it and choosing “Download”. Here “Configuration name” must be replace with any name you like in latin characters. To save our current configuration in the current terminal window we type:įollowing by pressing Enter. To do so we first open up a terminal by pressing on “New Terminal” button. How do you backup and restore your Mikrotik router configuration. If everything is done correctly you should see new records appearing when you press on the “Cache” button in the same window after pressing OK and rebooting the device.ģ. Press OK.Īnd lastly in “IP > DNS” in the “Servers” field input DNS server addresses that you want to use, press ok. Now in “IP > DHCP Server” in the “Networks” tab double click on our current DHCP configuration and input your router (!) address in the “DNS Servers” field. One advantage that Mikrotik devices have in that they can cache your recently used DNS records to make subsequent connections to them faster.įirst go to “IP > DHCP Client”, in the “DHCP Client” tab double click on the setting with the interface that you receive your internet traffic from, in the windows that appeared untick “Use Peer DNS” so that we wouldn’t use DNS servers that our ISP provides. You can change your DNS server addresses relatively easy any time If you have any issues with DNS servers that your ISP provides. I want to use different DNS server addresses for devices on my network. Now the application has it’s necessary ports open. Press ok to save and apply all of our settings. To Ports – port value which out application traffic uses – input 25565. To Addresses – IP address of our device in the local network which we took a note of earlier, input that over here. Now we go to our “Action” tab, which determines what the router is going to do with the traffic that we specified, change the following settings:Īction – choose “dst-nat” which tells that our traffic will go to a destination through NAT on our local network. Choose “ether1” or any other relevant interface. Interface – our interface which the traffic comes from in the first place, typically where our internet comes from. Port – our traffic destination port value, input 25565. Protocol – determines our TCP/IP traffic protocol that the application traffic uses, choose “6 (tcp)”.ĭst. Choose “dstnat” – our traffic comes from the internet into our local network. For that in the current window we go to “General” tab and change these settings:Ĭhain – a setting that determines in which direction our necessary application traffic goes. Next we go to “NAT” tab in “IP > Firewall” and click on the blue plus to add a new rule.įor the current example we are going to open the necessary ports for a Minecraft Java server, which by default uses TCP port 25565. Double click on it and press “Make Static” to make sure that IP address of our device doesn’t change after reboot and our necessary changes work. Here we see a device name DESKTOP-HSK7HA2, which is typically used by a Windows OS where our application is currently running, take a note of our IP address here. ![]() Opening necessary ports for an application on your computer is relatively easy assuming your Mikrotik router has default configuration, your internet comes from ethernet1 port, you know which ports to open and a LAN address of the computer the application is running on.įor the latter one go to the “Leases” tab in “IP > DHCP Server” and find your device using “Active Host Name” parameter. I want to host a *insert game here* server, how do I open necessary ports? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |