安裝相關套件
apkg -i netsnmpd libsnmp libsens libnl3
修改 snmpd 設定檔 /etc/snmp/snmpd.conf 加入
rocommunity public localhost
rocommunity public 192.168.0.0/16
sysName leaf-fw
syslocation GRoom
syscontact email@email
extend hardware "/bin/cat /sys/devices/virtual/dmi/id/product_name"
extend manufacturer "/bin/cat /sys/devices/virtual/dmi/id/sys_vendor"
extend distro "/bin/echo LEAF Bering-uClibc"
修改
/etc/shorewall/rule
/etc/hosts.allow
/etc/hosts.deny
沒有留言:
張貼留言