Episode 7 - Seri Tutorial Mikrotik - Step by Step, Basic Config Secara Statik (Gateway Mikrotik)
Table of Contents
Introduction
This tutorial provides a step-by-step guide for configuring a MikroTik router using static settings. It is particularly helpful for students and professionals in computer networking. Following this guide will enable you to set up a MikroTik gateway effectively.
Step 1: Access the MikroTik Router
-
Connect to the Router
- Use an Ethernet cable to connect your computer to the MikroTik router.
-
Open Winbox or WebFig
- Download and open Winbox from the MikroTik website. Alternatively, you can access the router via a web browser using its IP address (default is usually 192.168.88.1).
-
Log In
- Enter the default username (
admin
) and leave the password field empty. Click "Connect."
- Enter the default username (
Step 2: Configure Basic Settings
-
Change the Router Name
- Navigate to the "System" tab.
- Select "Identity" and change the router name to something recognizable.
-
Set Up the Time Zone
- Go to "System" > "Clock."
- Set the correct time zone according to your location.
-
Update RouterOS
- Check for updates by going to "System" > "Packages."
- Download and install any available updates to ensure you have the latest features and security fixes.
Step 3: Configure IP Addresses
-
Assign IP Address to the LAN Interface
- Go to "IP" > "Addresses."
- Click the "+" button to add a new address.
- Enter your desired IP address (e.g., 192.168.1.1) and select the appropriate interface (e.g., ether1).
- Click "OK."
-
Set Up DHCP Server (Optional)
- If you want to provide IP addresses automatically to connected devices, navigate to "IP" > "DHCP Server."
- Click on "DHCP Setup" and follow the prompts to configure the DHCP settings.
Step 4: Configure Gateway Settings
-
Set DNS Servers
- Go to "IP" > "DNS."
- Enter the DNS server addresses (e.g., 8.8.8.8 for Google DNS).
- Enable "Allow Remote Requests" if you want the router to resolve DNS queries for clients.
-
Configure Default Route
- Navigate to "IP" > "Routes."
- Click the "+" button to add a new route.
- Set the destination as
0.0.0.0/0
and specify the gateway (your ISP's gateway address). - Click "OK."
Step 5: Implement Firewall Rules
-
Set Up Basic Firewall Rules
- Go to "IP" > "Firewall."
- Under the "Filter Rules" tab, click the "+" button to add rules.
- Configure rules to allow or deny traffic based on your network requirements (e.g., allow established and related connections).
-
Enable NAT for Internet Access
- In the "NAT" tab, click "+" to create a new NAT rule.
- Set the chain to "srcnat" and select the appropriate out-interface (e.g., WAN).
- In the Action tab, select "masquerade" to allow internal devices to access the internet.
Conclusion
In this tutorial, you have learned how to set up a MikroTik router using static configurations, including basic settings, IP addressing, gateway setup, and firewall configuration. Following these steps ensures a functional and secure network environment. As a next step, consider exploring advanced routing or VPN configurations to enhance your network's capabilities.