Akses Web Server Local beda Segment

From AbahDoku Wiki
Revision as of 03:55, 31 December 2023 by Akhyar (talk | contribs)

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.

IP - Firewall
Tab NAT
(+)Add
 Tab General
  Chain : srcnat
  Out Interface : ether2
 Tab Action
  Action  : masquerade
 Apply/OK

Tambahkan lagi rule baru NAT untuk ether3.

IP - Firewall
Tab NAT
(+)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
  Acction : accept
 Apply/OK
(+)Add
 Tab General
  Chain : forward
 Tab Advanced
  Src. Address List : local
  Dst. Address List : local
 Tab Action
  Acction : 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.