Open pshemk opened 5 years ago
Could you please look up this message in the log? Is it present, does it look as expected?
Secondly, looking into the code, could it be that you actually have to use server-snmp-peer-address
option in the configuration? Let me know if it works for you - I will update the example.
Yes, using server-snmp-peer-address
did the trick. Thank you.
Oh, the example appears misleading! Let me fix the documentation...
Let's keep this issue open as a reminder.
I'm building a transparent proxy setup, where a number of appliances send their traps to snmpfwd, which in turn is supposed to forward them to our NMS, spoofing the source IPs to be those of the appliances (so from NMS perspective they appear to arrive directly from the appliances). I have the actual forwarding working fine, but when I try to apply the transparent proxy configuration from here.
with client.conf setup like this:
And server.conf like this:
after the client process receives a packet from the server and tries to send it - it dies with:
Which makes me believe that the
${snmp-peer-address}
macro is not being expanded.Am I missing something here?
version: