Configure Mikrotik as Web Proxy

Web proxy (cache) watches requests coming from client, saving copies of the responses for itself. Then, if there is another request for the same URL, it can use the response that it has, instead of asking the origin server for it again. If proxy has not requested file, it downloads that from the original server.
There can be many potential purpose of proxy server:
  • To increase access speed to resources (it takes less time for the client to get the object).
  • Works as HTTP firewall (deny access to undesirable web pages),
Allows to filter web content (by specific parameters, like source address, destination address and port, URL, HTTP request method) scan outbound content, e.g., for data leak protection.

Regular HTTP proxy – customer (itself) specify what is proxy server for him. But how to configure it?

Konfigurasi Web Proxy

  1. Konfigurasi IP Address terlebih dahulu
  2. Konfigurasi mikrotik sebagai DHCP Server. Pada menu IP > DHCP Server, kemudian pilih interface yang akan dikonfigurasi sebagai DHCP Server.
  3. Masukan IP Address network interface yang dipilih. Pada langkah pertama ether2 sudah dikonfigurasi IP Addressnya.
  4. Masukan gateway untuk network tersebut.
  5. Masukan IP Address range yang akan disewakan kepada client.Jika client mengkonfigurasi sebagai DHCP Client.
  6. Masukan IP DNS Server untuk network tersebut
  7. Masukan lama waktu menyewa IP
  8. Konfigurasi DNS Server pada menu IP > DNS. Karena pada langkah ke-6 DNS Server menggunakan IP mikrotik. Maka mikrotik tersebut harus dikonfigurasi sebagai DNS Forwarder dengan cara centang pada parameter Allow Remote Requests
  9. Konfigurasi NAT pada menu IP > Firewall untuk terhubung ke internet
  10. Pada tab action pilih masquerade.
  11. Setelah konfigurasi diatas semua telah dilakukan. Client akan dapat terhubung ke internet. Langkah selanjutnya adalah mengaktifkan web proxy pada menu IP > Web Proxy kemudian beri checklist pada Enabled
  12. Untuk blok akses ke suatu website, dapat dilakukan pada tab Access kemudian pada menu Dst. Host diisi alamat website dan jangan lupa pada Action dipilih deny untuk blok.
  13. Karena web proxy yang telah dikonfigurasi tidak transparent jadi pada client side harus memberikan alamat ip web proxy secara manual.
  14. Buka website, dan jika konfigurasi sudah benar makan akan terlihat seperti dibawah.
Sekian tutorial kali ini, tunggu tutorial selanjutnya
    Advertisement

    4 Comments

    Bang ikut MUM gak, nanti kalo ikut kontak kontak bro. hehehehHAHAHAHAHHA

    bung, cara hack hotspot di mikrotik bagaimana ya?


    EmoticonEmoticon