Solved: As a not-exactly-expert in Mikrotik, it didn’t quite occur to me that I had to manually enable “snmp” TWICE: once for the community I’d added, and once again for SNMP entirely. Generally other networking devices are much simpler: enable/disable SNMP in one single spot, and have a (usually small) list of read/write communities. Splitting those up into two screens on the webfig leaves us wondering “why, when it is showing “Enabled”, isn’t it working?”
I have a mikrotik device connected to the internet via pppoe. I need to be able to monitor the device via snmp.
Evidently the fact that this is on a pppoe connection, that means the mikrotik will not respond to queries on its public ip? While this ip address is not static, it’s assigned at login time, I do currently know what the public ip is.
I have indeed ensured that the firewall explicitly allows inbound connections to udp/161 to both its ether1 interface and its pppoe-out1 interface.
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=accept chain=input comment="allow ssh,http,https" dst-port=22,80,443 in-interface=ether1 protocol=tcp
add action=accept chain=input comment="allow snmp" dst-port=161 in-interface=ether1 protocol=udp
add action=accept chain=input comment="allow ssh,http,https" dst-port=22,80,443 in-interface=pppoe-out1 protocol=tcp
add action=accept chain=input comment="allow snmp" dst-port=161 in-interface=pppoe-out1 protocol=udp
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
(Note that the above firewall rules for ssh/web are working here)
snmpwalk -v 1 -c ip.ip.ip.ip
just responds with “Timeout: No Response from ip.ip.ip.ip”.
I need some explicit advice on how to get this going, my Google Fu is just bringing up half-useful advice from several years ago.