Cara Setting Mikrotik RB750 untuk Hotspot Voucher + Install Mikhmon
4 min read
2 months ago
Published on Aug 22, 2024
This response is partially generated with the help of AI. It may contain inaccuracies.
Table of Contents
Introduction
This tutorial provides a comprehensive guide on configuring the Mikrotik RB750Gr3 router for a hotspot voucher system. It also covers the installation of the Mikhmon application, which is essential for managing the hotspot service. By following these steps, you will be able to set up your network efficiently and create vouchers for users.
Step 1: Plan Network Topology and IP Addressing
- Determine the layout of your network, including where your router will be placed and how devices will connect.
- Choose a private IP address range for your network (e.g., 192.168.88.0/24).
- Ensure that the addresses are organized for easy identification of devices.
Step 2: Prepare for Configuration
- Gather all necessary equipment: Mikrotik RB750Gr3, network cables, and a computer for configuration.
- Connect your computer to the router using an Ethernet cable.
Step 3: Reset Configuration
- To start fresh, reset the router to its factory settings:
- Use the reset button on the device or access the settings through Winbox.
Step 4: Rename Interfaces
- Access the Mikrotik interface using Winbox.
- Rename the interfaces for clarity (e.g., WAN for the internet-facing interface and LAN for the local network).
- Navigate to Interfaces and double-click to rename each interface.
Step 5: Create Interface Bridge
- Go to Bridge settings in Winbox.
- Create a new bridge called "BridgeHotspot" to combine LAN interfaces.
- Add the relevant interfaces to this bridge.
Step 6: Set IP Address
- Assign an IP address to the bridge interface:
- Go to IP > Addresses.
- Add a new address (e.g., 192.168.88.1/24) to the "BridgeHotspot".
Step 7: Set DNS
- To configure DNS settings:
- Go to IP > DNS and enter your preferred DNS server addresses (e.g., 8.8.8.8 for Google DNS).
Step 8: Set Default Route
- Set the gateway for internet access:
- Navigate to IP > Routes and add a new route with your ISP’s gateway IP.
Step 9: Configure NAT Masquerade
- Enable NAT to allow internal devices to access the internet:
- Go to IP > Firewall > NAT and add a new rule.
- Set Chain to "srcnat" and Action to "masquerade".
Step 10: Set Up DHCP Server
- To assign IP addresses dynamically to local devices:
- Go to IP > DHCP Server and set up a new DHCP server for the local network.
Step 11: Configure Hotspot Server
- Set up the hotspot service:
- Go to IP > Hotspot and follow the wizard to configure the hotspot settings.
- Specify the interface (e.g., BridgeHotspot) and IP address pool.
Step 12: Set SNTP Client
- Configure the SNTP client for time synchronization:
- Go to System > SNTP Client, enable it, and set the server (e.g., time.google.com).
Step 13: Set Password and Identity
- Secure your router:
- Change the default admin password under System > Users.
- Set an identity name for easier identification on the network.
Step 14: Check Configuration
- Verify all settings:
- Review the configured services and ensure they are operational.
Step 15: Download and Install Mikhmon
- Download the Mikhmon application from its official website.
- Install Mikhmon on your computer or server that will manage the hotspot.
Step 16: Create Hotspot Profile
- Launch Mikhmon and create a new hotspot profile.
- Configure settings such as bandwidth, user limits, and voucher validity.
Step 17: Generate and Print Vouchers
- Use Mikhmon to generate vouchers for users.
- Print the vouchers with necessary information like username and password.
Step 18: Download and Replace Login Template
- Modify the default login page template if needed:
- Download a new template and upload it to the Mikhmon server.
Step 19: Test Hotspot Functionality
- Connect a device to the hotspot and test the login process.
- Ensure users can successfully authenticate with their vouchers.
Conclusion
You have successfully configured your Mikrotik RB750Gr3 router for a hotspot voucher system and installed Mikhmon. This setup allows you to manage and distribute internet access effectively. For further customization, explore the advanced features of both Mikrotik and Mikhmon. Enjoy your new hotspot service!