Anda di halaman 1dari 2

ip dhcp-client add interface=ether1

ip dhcp-client enable

ip address add address=192.168.10.1/24 interface=ether2

interface wirelless enable number=0 (jika pake wlan)

ip address add address=192.168.20.1/24 interface=ether3 (wlan1)

ip dns set server=8.8.8.8,8.8.4.4 allow-remote-requests=yes

ip firewal nat add chain=srcnat out-interface=ether1 action=masquerade

ip dhcp-server setup (buat dhcp wlan/ether3)

konfigurasi di ether2

isi ip statik/manual

tes ping

ip firewall layer-protocol add name=youtube regexp=youtube.com

ip firewall filter add later-protocol=youtube chain=forward action=drop in-interface=ether2

wlan

ip hotspot setup (ether3)

ip hotspot profile edit hsprof1 login-by (hapus cookie)

interface wirelless set disable=no mode=ap-bridge ssid=nama_peserta@hotspot

ip hotspot walled-garden add action=allow dst-host=*bsnp-indonesia.org


ip hotspot user profile add name=guru rate-limit=256/256

ip hotspot user add server=hotspot1 name=guru password=guru profile=guru

Anda mungkin juga menyukai