Hello,
I have installed mini_snmpd today, and could only get it to work on the router itself, and not from a local machine on the LAN side; Turns out that in the loc2fw chain, snmp is blocked:
So after deleting that line, it's working.
After a reboot, it obviously is blocked again; I could write a script to check for, and if found, delete that rule, but I wonder what sets iptables at boot, and can it be manipulated so that a reboot will not set up the block?
Any pointers are welcome!
Thanks
I have installed mini_snmpd today, and could only get it to work on the router itself, and not from a local machine on the LAN side; Turns out that in the loc2fw chain, snmp is blocked:
Code:
iptables -L loc2fw --line-numbers
..
..
3 DROP udp -- anywhere anywhere state NEW multiport dports snmp,snmp-trap
..
..
So after deleting that line, it's working.
Code:
iptables -D loc2fw 3
After a reboot, it obviously is blocked again; I could write a script to check for, and if found, delete that rule, but I wonder what sets iptables at boot, and can it be manipulated so that a reboot will not set up the block?
Any pointers are welcome!
Thanks