You don't indicate whether or not the snmp trap source is on the same
device as the local end of the ssh tunnel.  If so, it should be easy to
forward traps.  If you don't have a trap receiver running on the local
device, all you need to do is configure your ssh client to forward udp
port 162 to the remote port 162, and then configure your trap generator
to send traps to localhost (port 162 should be the default).  If you are
running a trap receiver on the local machine as well, then you'll need
to pick a random port on the local machine XXX, configure the ssh client
to forward udp port XXX to remote port 162, and then configure your trap
generator to send traps to localhost:XXX.
If the application generating the traps is not the local SSH endpoint,
then the above still holds true, but you'll need to configure the ssh
client to allow port forwarding from other hosts.

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Weinberger, Keith A
Sent: Monday, October 18, 2004 7:27 AM
To: [EMAIL PROTECTED]
Subject: SNMP through an SSH tunnel
Importance: High

Does anyone know if you can send SNMP traps through a SSH tunnel ?
If so, how ?
If not, why not ?

Thanks,

Keith Weinberger, CISSP, AISSR, OSCR
Senior Consultant
Computer Associates, Inc.
Cell: (210) 602-5833



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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

Reply via email to