Hi we are running Ubuntu Server in a DMZ. It has 2 nics, ip address of public is and ip address of private is Hostname in /etc/hosts maps to the public IP address.

However, this is causing an issue regarding snmptraps being sent from this server as they originate using the public (28.100) address so the FW blocks them.

Is it possible, w/o changing the /etc/hosts, to configure the trap sending IP address to the private address, 28.101???

example with traps being sent to a Nagios monitoring station:

snmptrap -v1 -c public . 0 0 "" "" . s "hello

Is blocked at FW.