Sysnet Board คู่มือ การใช้งานอุปกรณ์ Network

การ Config อุปกรณ์ เครือข่าย Network Device => อุปกรณ์ Mikrotik Router => หัวข้อที่ตั้งโดย: ceser เมื่อ วันที่ 30 ธันวาคม 2011, 05:52:38

ชื่อ: ขอวิธี config Mikrotik Router เก็บ log ด้วย nas ครับ
โดย: ceser เมื่อ วันที่ 30 ธันวาคม 2011, 05:52:38
ผมใช้ Mikrotik router board RB 1200 ใช้ NAS Zyxel 210 ครับ ขอวิธี config Mikrotik Router เก็บ log ด้วย ครับ
ชื่อ: Re: ขอวิธี config เก็บ log ด้วย nas ครับ
โดย: wong62 เมื่อ วันที่ 31 ธันวาคม 2011, 00:07:10
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
    "place hotspot rules here" disabled=yes
add action=log chain=forward comment="" disabled=no log-prefix=firewall \
    src-address=192.168.88.0/24


/system logging action
set memory memory-lines=100 memory-stop-on-full=no name=memory target=memory
set disk disk-file-count=2 disk-file-name=log disk-lines-per-file=100 \
    disk-stop-on-full=no name=disk target=disk
set echo name=echo remember=yes target=echo
set remote bsd-syslog=no name=remote remote=192.168.88.200:514 src-address=\
    0.0.0.0 syslog-facility=daemon syslog-severity=auto target=remote
/system logging
add action=remote disabled=no prefix="" topics=info
add action=remote disabled=no prefix="" topics=error
add action=remote disabled=no prefix="" topics=warning
add action=echo disabled=no prefix="" topics=critical
add action=remote disabled=no prefix="" topics=hotspot
add action=remote disabled=no prefix="" topics=firewall,ppp,pppoe
add action=remote disabled=no prefix="" topics=dhcp

ใช้สคริปนี้ เปลี่ยนแค่ ip ที่เป็นสีแดง
ชื่อ: Re: ขอวิธี config เก็บ log ด้วย nas ครับ
โดย: ceser เมื่อ วันที่ 31 ธันวาคม 2011, 08:04:51
ขอบคุณ ครับ ผมจะลองดู ครับ ได้ผลยังไงจะรายงานผล ครับ
ชื่อ: Re: ขอวิธี config เก็บ log ด้วย nas ครับ
โดย: yod เมื่อ วันที่ 3 มกราคม 2012, 14:26:39


ขอคารวะเลยครับพี่  ;D ;D ;D
ชื่อ: Re: ขอวิธี config เก็บ log ด้วย nas ครับ
โดย: ceser เมื่อ วันที่ 9 มกราคม 2012, 22:44:29
ผมลองแล้วครับ แต่ไปดูที่ NAS ไม่มี Folder เกี่ยวกับ log เลยครับ รบกวนช่วยแนะอีกครั้ง ครับ :'(
ชื่อ: Re: ขอวิธี config เก็บ log ด้วย nas ครับ
โดย: wong62 เมื่อ วันที่ 10 มกราคม 2012, 22:08:22
ลง package syslog หรือยังครับ
ชื่อ: Re: ขอวิธี config เก็บ log ด้วย nas ครับ
โดย: ceser เมื่อ วันที่ 11 มกราคม 2012, 13:14:03
ยังเลยครับ ขอวิธี หน่อยครับ
ชื่อ: Re: ขอวิธี config เก็บ log ด้วย nas ครับ
โดย: ceser เมื่อ วันที่ 7 กุมภาพันธ์ 2012, 22:52:27
ลง packet syslog เรียบร้อยแล้วครับ แต่ไปดูที่ nsa210 ในโฟลเดอร์ admin/syslog nsa210 มีแต่โฟลเดอร์ ของปีและเดือน แต่ในโฟลเดอร์ไม่มีอะไรเลย ครับ ช่วยแนะนำด้วยครับ
ชื่อ: Re: ขอวิธี config เก็บ log ด้วย nas ครับ
โดย: wong62 เมื่อ วันที่ 7 กุมภาพันธ์ 2012, 23:05:36
กำหนด firewall filter , system logging ตามสคริปข้างบนนะครับ เปลี่ยน ip ตาม subnet ที่ใช้ด้วย

Users found this pages searching for: