Konfigurasi Service PPPoE dan Hostpot pada Mikrotik
Slot | Keterangan |
---|---|
eth1 | Sumber Internet |
eth2 | Kosongkan untuk jaga-jaga. |
eth3 | bridge1 |
eth4 | bridge1 |
eth5 | bridge1 |
Terhubung ke Mikrotikβ
Key | Value | Value New |
---|---|---|
username | admin | admin |
password | Cek pada body mikrotik. |
Mengubah Users Default Supaya Amanβ
Agar lebih aman ubah user default admin
dengan nama Anda, dan jangan lupa untuk menghapus user admin
supaya tidak kena hack. Untuk mengubahkan anda dapat menuju ke Tab β System
> users
- Hapus user dengan name:
admin
- Tambahkan user baru dengan menekan tombol β
- Name:
kaesa
- Group:
full
- Allowed Address: (Kosongkan, bisa di isi untuk keamanan lebih lanjut)
- Password:
rahasia
- Confirm Password:
rahasia
- Name:
Mengonfigurasi Waktu (Time/Clock)β
Untuk mengonfigurasi waktu silahkan menuju ke Tab β System
> Clock
.
Pada Tab Time
:
- Matikan atau Uncheck π²
Time Zone Autodetect
- Ubah
Time Zone Name
menjadiAsia/Jakarta
Setelah itu tekan tombol OK
.
Mengubah Nama Default MikroTikβ
Untuk mengubah nama default MikroTik
dengan nama lain. Tab β System
> Identity
> Ganti Nama Mikrotik > OK
Mengubah NTP Clientβ
Untuk mengubah NTP Client. Tab β System
> NTP Client
.
NTP Client | Keterangan |
---|---|
β Enabled | |
Mode: | unicast |
NTP Server: | 0.id.pool.ntp.org 1.id.pool.ntp.org |
VRF: | main |
Matikan Watchdogβ
Saya kurang tahu fungsi pastinya. β System
> Watchdog
. Katanya membuat mikrotik auto reboot jika ada error.
Key | Value | - |
---|---|---|
π² Watchdog Timer | ||
Watch Address: | ||
Ping Start After Boot: | 00:05:00 | |
Ping Timeout: | 60 | s |
π² Automatic Supout | ||
π² Auto Send Supout | ||
Send Email To: | ||
Send Email From: | ||
Send SMTP Server: |
Konfigurasi DHCP Clientβ
IP
> DHCP Client
> β New DHCP Client
DNCP | Keterangan | |
---|---|---|
Interface | ether1 | Port Ethernet yang berfungsi sebagai sumber Internet. |
β Use Peer DNS | ||
β Use Peer NTP | ||
Add Default Route: | yes |
Lalu tekan tombol Apply
> OK
.
Konfigurasi DNSβ
IP
> DNS
DNS Settings | Keterangan | |
---|---|---|
Servers: | 8.8.8.8 8.8.4.4 1.1.1.1 | DNS Google DNS Google DNS Cloudflare |
Dynamic Servers: | ||
Use DoH Server: | ||
β Allow Remote Requests |
Lalu tekan tombol Apply
> OK
Konfigurasi NATβ
IP
> Firewall
> Tab NAT
> β New Nat Rule
General | |
---|---|
Chain: | srcnat |
Out. Interface: | π² ether1 |
Action | |
---|---|
Action: | masquerade |
Lalu tekan tombol Apply
> OK
Membuat bridge1
untuk Menghubungkan Port ether3
, ether4
dan ether5
β
Bridge
> Tab Bridge
> β New Interface
General | |
---|---|
Name: | bridge1 |
Lalu tekan tombol Apply
> OK
.
Setelah itu pada Tab Ports
> β New Bridge Port
New Bridge Port (General) | |
---|---|
Interface: | ether3 |
Bridge: | bridge1 |
Lalu tekan tombol Copy
supaya cepat menambahkan port ether4
dan ether5
.
New Bridge Port (General) | |||
---|---|---|---|
Interface: | ether3 | ether4 | ether5 |
Bridge: | bridge1 | bridge1 | bridge1 |
Membuat Addresses Baruβ
IP
> Addresses
> β New Address
New Address | |
---|---|
Address: | 99.99.99.1/24 |
Network: | 99.99.99.0 |
Interface: | bridge1 |
Lalu tekan tombol Apply
> OK
Konfigurasi Service Hotspotβ
IP
> Hotspot
> Tab Server
> Tekan Tombol Hotspot Setup
- Step1: Select interface to run HotSpot on
- HotSpot Interface:
bridge1
- Lalu tekan tombol
Next
- HotSpot Interface:
- Step2: Set HotSpot address for interface
- Local Address of Network:
99.99.99.1/24
- β Masquerade Network
- Lalu tekan tombol
Next
- Local Address of Network:
- Step3: Set pool for HotSpot addresses
- Address Pool of Network:
99.99.99.2-99.99.99.254
- Lalu tekan tombol
Next
- Address Pool of Network:
- Step4: Select hotspot SSL certificate
- Select Certificate:
none
- Lalu tekan tombol
Next
- Select Certificate:
- Step5: Select SMTP Server
- IP Address of SMTP Server:
0.0.0.0
- Lalu tekan tombol
Next
- IP Address of SMTP Server:
- Step6: Setup DNS configuration
- DNS Servers:
8.8.8.8
8.8.8.8
1.1.1.1
99.99.99.1
- Lalu tekan tombol
Next
- DNS Servers:
- Step7: DNS name of local hotspot server
- DNS Name:
hotspot.charapon.my.id
- Lalu tekan tombol
Next
- DNS Name:
- Step8: Create local HotSpot user
- Name of Local HotSpot User:
kaesa
- Password for the User:
hotspotrahasia
- Lalu tekan tombol
Next
- Name of Local HotSpot User:
- Selesai
Lalu ubah lagi HotSpot hotspot1
pada bagian:
- Addresses Per MAC:
1
(Default:2
)
User Profilesβ
Ini digunakan untuk melakukan pembatasan users yang menggunakan service hotspot.
IP
> Hotspot
> User Profiles
> β New Hospot User Profile
Key | Value |
---|---|
Name: | 1Device-3Mbps |
Address Pool: | none |
Shared Users: | 1 |
Rate Limit (rx/tx): | 3M/3M |
Usersβ
IP
> Hotspot
> Users
> β New Hospot User
Ini adalah tempat menampung data username dan password user, yang disesuaikan dengan User Profiles masing-masing.
General | |
---|---|
Server: | all /server1 |
Name: | kaesa |
Password: | lyrih |
Profile: | 1Device-3Mbps |
Konfigurasi Service PPPoEβ
PPPoE Serverβ
PPP
> Tab PPPoE Servers
> β New PPPoE Service
New PPPoE Service | |
---|---|
Service Name: | service-PPPoE |
Interface: | bridge1 |
Lalu tekan tombol Apply
> OK
Profilesβ
Ini digunakan untuk limitasi PPPoE Client.
βNew PPP Profile
General | |
---|---|
Name: | profile-7M |
DNS Server: | 8.8.8.8 8.8.4.4 |
Limits | ||
---|---|---|
Rate Limit (rx/tx): | 5M/7M | |
Only One | β yes | Supaya satu Secrets hanya dipakai sekali. (1 user) |
Lalu tekan tombol Apply
> OK
Secretsβ
Digunakan untuk membuat user Name dan Password Client.
β New PPP Secret
New PPP Secret | |
---|---|
Name: | clientname1 |
Password: | clientname1 |
Service: | pppoe |
Profile: | profile-7M |
Local Address: | 88.88.88.1 |
Remote Address: | 88.88.88.2 |
Mengatur Dual SSID pada Mikrotikβ
Wireless
> TabSecurity Profiles
> βNew Security Profile
- Name:
profile1
- Mode:
dynamic keys
- Authentication Types: β
WPA PSK
, βWPA2 PSK
- WPA Pre-Shared Key:
passwordwifianda
- WPA2 Pre-Shared Key:
passwordwifianda
- Name:
Wireless
> TabWiFi Interfaces
- Klik interface name
wlan1
>Wireless
- Mode:
ap bridge
- SSID:
Nama Wifi Untuk PPPoE
- Security Profile:
profile1
- Klik interface name
Wireless
> TabWiFi Interfaces
> βVirtual
Virtual interface ini digunakan untuk Hotspot.- Mode:
ap bridge
- SSID:
Nama Wifi Untuk Hotspot
- Master Interface:
wlan1
- Security Profile:
disabled
- Mode: