There are two places you need to modify, /etc/default/snmpd and /etc/snmp/snmpd.conf.

Edit the line

SNMPDOPTS='-Lsd -Lf /dev/null -p /var/run/snmpd.pid 127.0.0.1'

to remove the localhost IP at the end. You can either have no IP there to allow access from anywhere or you can put a specific IP to restrict to a certain address.

Also edit /etc/snmp/snmpd.conf to allow access and set the community password, in the line below it's set to the default of "public". You can also allow readwrite permissions similarly.

com2sec readonly  <ip address of remote snmp host>  public

I edit this file by hand but you can run the snmpconf utility to change it's settings as well.

HTH,

Edwin

Chris Pawelko wrote:
Hi all,
I am trying to put SNMP on. I am able to do a snmpwalk -v 1 -c public
127.0.0.1 . But when I go to another machine and do a snmpwalk -v 1 -c
public <ip address of voyage box> it doesn't respond.

By default, does voyage linux have a firewall on and if so, how do I
configure it to allow snmp?

Thanks!

cp.


_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

--
<=+=+=+==+=+=+==+=+=+=+=+=+=+=+=>
Edwin Whitelaw, P.E.
New River Valley Unwired, LLC
2200 Lonesome Dove Dr
Christiansburg, VA 24073
540-239-0318


_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to