Akses Web Server Local beda Segment

From AbahDoku Wiki
Revision as of 22:47, 19 November 2024 by Akhyar (talk | contribs) (10 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Konfigurasi pada Mikrotik untuk akses Web Server Local pada jaringan yang berbeda segment.

File:Topologi-smpn1pmkt.png
Topology Jaringan Lokal

Lakukan konfigurasi sebagai berikut :

Tambahkan rule NAT untuk ether2 dan ether3

IP - Firewall
Tab NAT
(+)Add
  Tab General
    Chain : srcnat
    Out Interface : ether2
  Tab Action
    Action  : masquerade
  Apply/OK
(+)Add
  Tab General
    Chain : srcnat
    Out Interface : ether3
  Tab Action
    Action  : masquerade
  Apply/OK
Tab Address Lists
(+)Add
  Name : local
  Address : 11.11.11.0/24
  Apply/OK
(+)Add
  Name : local
  Address : 22.22.22.0/24
  Apply/OK
Tab Manggle
(+)Add
  Tab General
    Chain : prerouting
  Tab Advanced
    Src. Address List : local
    Dst. Address List : local
  Tab Action
    Action : accept
  Apply/OK
(+)Add
  Tab General
    Chain : forward
  Tab Advanced
    Src. Address List : local
    Dst. Address List : local
  Tab Action
    Action : accept
  Apply/OK

Lakukan ping dari client di network 11.11.11.0 ke network 22.22.22.0 atau sebaliknya. Beberapa kasus saat dilakukan ping masih rto, kemungkinan disebabkan oleh firewall dalam posisi aktif untuk ip tujuannya, maka perlu mematikan firewall di client tujuan tersebut.