Wan : Interface ke arah internet.
Lan : Interface ke arah local.
Ip Local : 192.168.0.0/16
Media : Mikrotik - Ip Firewall Filter
Langsung saja Jamunya...
Code:
ip firewall filter add chain=forward in-interface=Wan out-interface=Lan dst-address=192.168.0.0/16 action=accept comment="Allow semua akses internet to client" disabled=no add chain=input in-interface=Wan protocol=tcp dst-port=8291 action=accept comment="Allow Remote winbox dari Publik" disabled=no add chain=input in-interface=Wan protocol=udp src-port=123 action=accept comment="Allow NTP Traffic" disabled=no add chain=input in-interface=Wan protocol=udp src-port=53 action=accept comment="Allow DNS Traffic" disabled=no add chain=input in-interface=Wan protocol=icmp action=accept comment="Allow Ping Traceroute Traffic" disabled=no add chain=input in-interface=Wan connection-state=new action=add-src-to-address-list address-list=spam address-list-timeout=30m comment="Log Ip Yang Di Tolak" disabled=no add chain=input in-interface=Wan action=drop comment="Drop Semua Akses yang tidak di ijinkan" disabled=no
Bagi yang udah pinter terima kasih sudah mampir.. mohon pencerahanna agar lebih sempurna.. Bagi yang baru belajar.. silahkan di coba.. sesuaikan ip localnya, nama interface atau ether pada mikrotik anda..
Sumber : http://www.forummikrotik.com/firewall/11755-simple-firewall-ampuh.html
Tidak ada komentar:
Posting Komentar