Problem with proxy

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
     I have an issue in proxy setup.

Running version of snmpd server is 5.4.pre3, hosted on firewall appliance
(McAfee Firewall, OS is a custom version of BSD).

I have a client (client, 10.253.37.71), a proxy SNMP server (swlab-c01,
10.253.37.83) and a remote server to be queried (remote, 172.30.25.10).

By GUI I set up v3 authentication, and I'm able to query the proxy SNMP
server from the client.

# Main snmpd.conf configuration file
syslocation "lab"
syscontact "[email protected]"
authtrapenable 2
com2sec publicUser default public
group public2Grp v2c publicUser
access public2Grp "" v2c noauth prefix _all_ none none
group monitorGrp usm monitor
access monitorGrp "" usm noAuth prefix _all_ none none

[root@client ~]# snmpget -v 3 10.253.37.83 .1.3.6.1.2.1.1.5.0
SNMPv2-MIB::sysName.0 = STRING: swlab-c01.example.com


In order to proxy SNMP requests to a remote server I added the following
line:
proxy -Cn dmz-172.30.25.10 -v 2c -c public 172.30.25.10 .1

When I specify the context, it doesn't work:
[root@client ~]# snmpget -v 3 -n dmz-172.30.25.10 10.253.37.83
.1.3.6.1.2.1.1.5.0
SNMPv2-MIB::sysName.0 = No Such Object available on this agent at this OID


I cannot solve this issue by mysef, may someone tell me where I'm making
mistake?
Notes:
1. queries the remote server get a response
[root@remote-server root]# snmpget -v 2c -c public 172.30.25.10
.1.3.6.1.2.1.1.5.0
SNMPv2-MIB::sysName.0 = STRING: remote-server
2. I tested the same setup on a linux box (Net-SNMP v. 5.1.2), and it works.


Thank you
Marco






------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.