2. system identity set name=alfurqon
3. interface set wlan1 disable=no
4. - interface set name=internet ether1
- interfce set name=lokal ether2
- interface set name=wifi wlan1
5. - ip address add address=
192.168.11.78/24 interface=internet
- ip address add address=192.168.100.1/24 interface=lokal
- ip address add address=192.168.200.1/24 interface=wifi6. ip dns set servers=180.131.144.144
7. ip firewll nat add action=masquerade out-interface=internet chain=srcnat
8. ip route add gateway=192.168.11.1
9. ip firewall layer7-protocol add name=blokyoutube regexp=youtube.com
10. ip firewall filter add action=drop protocol=tcp in-interface=lokal layer7-protocol=lokyoutube chain=frward
11. interface wireless edit wifi mode (rubah menjadi ap-bridge)
12. interface wireless edit wifi ssid (rubah menjadi nama ap yang di inginkan )
13. ip hotspot setup
Select interface to run HotSpot on
hotspot interface: wifi
Set HotSpot address for interface
local address of network: 192.168.200.1/24
masquerade network: yes
Set pool for HotSpot addresses
address pool of network: 192.168.200.2-192.168.200.100
Select hotspot SSL certificate
select certificate: no
Select SMTP server
ip address of smtp server: 0.0.0.0
Setup DNS configuration
dns servers: 180.131.144.144
DNS name of local hotspot server
dns name: alfurqon.sch.id
Create local hotspot user
name of local hotspot user: admin
password for the user: 123
14. ip hotspot profile edit hsprof1 login-by (hapus cookie agar hotspot tidak login otomatis)
ip hotspot profile edit default login-by (hapus cookie agar hotspot tidak login otomatis)
15. ip hotspot user profile add name=guru
ip hotspot user profile add name=siswa rate-limit=256k/256k
16. ip hotspot user add name=guru password=guru profile=guru
ip hotspot user add name=siswa password=siswa profile=siswa
17. ip hotspot walled-garden add dst-hots=bsnp-indonesia.org dst-port=80 action=allow
Tidak ada komentar:
Posting Komentar