random musings from a twisted mind
SNMP over SSH tunnels
Sometimes you just need to tunnel UDP based protocols – such as SNMP – and the easiest ways is to use socat
socat tcp4-listen:6667,reuseaddr,fork UDP:DESTINATION:161
socat udp4-listen:161,reuseaddr,fork tcp:localhost:6667
And in combination with your normal SSH tunnel
ssh -L6667:localhost:6667 BASTION_HOST
| Print article | This entry was posted by mike on October 3, 2009 at 01h04, and is filed under computers, snmp. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |