konfigurasi HotSpot Mikrotik..

Setelah konfigurasi IP address, Gateway, Masqureade, dan name server, selanjutnya setting untuk HotSpot.

Konfigurasi awal, adalah konfig IP address, Gateway, dan Firewall Nat.

[admin@MikroTik] > ip address print
Flags: X – disabled, I – invalid, D – dynamic
#   ADDRESS            NETWORK         BROADCAST       INTERFACE
0   10.0.0.15/24       10.0.0.0        10.0.0.255      ether1
1   192.168.2.1/24     192.168.2.0     192.168.2.255   ether2

[admin@MikroTik] > ip route print
Flags: X – disabled, A – active, D – dynamic,
C – connect, S – static, r – rip, b – bgp, o – ospf
#     DST-ADDRESS        PREF-SRC        G GATEWAY         DISTANCE INTERFACE
0 ADC 10.0.0.0/24          10.0.0.15                                                                  ether1
1 ADC 192.168.2.0/24     192.168.2.1                                                              ether2
2 A S 0.0.0.0/0                                            r 10.0.0.1                                      ether1

[admin@MikroTik] > ip firewall nat print
Flags: X – disabled, I – invalid, D – dynamic
0   chain=srcnat out-interface=ether1 action=masquerade

1   ;;; masquerade hotspot network
chain=srcnat src-address=192.168.2.0/24 action=masquerade
[admin@MikroTik] >

Selanjutnya adalah konfig hotspot:

[admin@MikroTik] ip hotspot> setup
hotspot interface: ether2
local address of network: 192.168.2.1/24
masquerade network: yes
address pool of network: 192.168.2.2-192.168.2.252
select certificate: none
ip address of smtp server: 10.0.0.1
dns servers: 10.0.0.1
dns name: magangbbs.com
[admin@MikroTik] ip hotspot> print
Flags: X – disabled, I – invalid, S – HTTPS
#   NAME                           INTERFACE ADDRESS-POOL PROFILE IDLE-TIMEOUT
0   hotspot1                       ether2    hs-pool-2    hsprof2 5m
[admin@MikroTik] ip hotspot>

Saat pertama kali buka browser, maka kita akan dihadapkan ke login page. masukkan user admin dan password 12345 pada kotak yg tersedia.

Jika ingin menambah user baru, misalkan nama: client dan password:1234567.

[admin@MikroTik] ip hotspot> user

[admin@MikroTik] ip hotspot user> add name=client password=1234567
[admin@MikroTik] ip hotspot user> print
Flags: X – disabled, D – dynamic
#   SERVER   NAME                         ADDRESS         PROFILE UPTIME
0            admin                                        default              9h43m38s
1            client                                       default                  0s
[admin@MikroTik] ip hotspot user>

Sumber: Herlambang, Moch. Linto dan Azis Catur L. 2008. Panduan lengkap menguasai Router masa depan menggunakan MikroTik RouterOS. Penerbit ANDI. Yogyakarta.

2 responses to “konfigurasi HotSpot Mikrotik..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s