Re: snmp request over a ssh tunnel?

Les Mikesell <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thorsten Frank wrote:
> I want to do a snmp query from my webserver (snmp consumer) to my pc 
> (snmp producer). The pc is behind a router. It works fine with 
> port-forwarding in the router.
> 
> But is there another possiblity, without having to configure something 
> in the router?
> 
> I am think about something like, the pc (snmp producer) opening a 
> ssh-tunnel to the webserver (snmp consumer), for example with putty, and 
> the doing the snmpwalk command from the webserver using this tunnel.
> 
> Is this possible? And if, any hints, how?

I think you'd have to use the socks-proxy mode of ssh/putty and do 
something to make the snmp client socks-aware to make this work. 
Something like openvpn might be an easier approach to tunnel udp.

-- 
  Les Mikesell
    [email protected]

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-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.