Episode 7 - Seri Tutorial Mikrotik - Step by Step, Basic Config Secara Statik (Gateway Mikrotik)

3 min read 7 days ago
Published on Sep 30, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

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

  1. Connect to the Router

    • Use an Ethernet cable to connect your computer to the MikroTik router.
  2. 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).
  3. Log In

    • Enter the default username (admin) and leave the password field empty. Click "Connect."

Step 2: Configure Basic Settings

  1. Change the Router Name

    • Navigate to the "System" tab.
    • Select "Identity" and change the router name to something recognizable.
  2. Set Up the Time Zone

    • Go to "System" > "Clock."
    • Set the correct time zone according to your location.
  3. 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

  1. 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."
  2. 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

  1. 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.
  2. 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

  1. 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).
  2. 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.