Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Possible number of the trap reception ports of a DMA

Solved1.35K views3rd September 2021SLSNMPManager SNMP traps
3
Alexander Gudkov [SLC]40 20th July 2021 0 Comments

Hi All,

I need to receive incoming SNMPv2 traps/informs not only on the default port 162 but also on the other ports (e.g. 362, 363, etc). I know that I can specify a custom port using the trapPort attribute (in the DataMiner.xml), but is it possible to configure several ports (more than 3) to receive SNMPv2 traps/informs?

Thank you for your help!

Alexander Gudkov [SLC] Selected answer as best 3rd September 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Jeroen Neyt [SLC] [DevOps Advocate]2.35K Posted 21st July 2021 0 Comments

Per SNMP version you can configure only 1 port at the moment. You could however setup a small proxy that forwards all traffic from certain ports to another port. Netsh interface portproxy would be the native solution that is embedded into Windows but only supports TCP at the moment.

There are many 3rd party solutions out there that do exactly that but also for UDP. One of those that I have experience with is socat (which is a tool developed for Unix but also has a Windows port).

By setting up following command:

socat udp-recvfrom:363,fork udp-sendto:0.0.0.0:162

You will forward all UDP traffic destined for port 363 to port 162 which DataMiner will pick up then. As it's a proxy, the downside is that you'll lose the source IP information of the datagram and it will seem that it's coming from the loopback address. If that's not an issue, above described solution might be sufficient for you.

Other 3rd party tools that I've found but have not played around with are:

  • goproxy
  • gost
  • portproxy
Alexander Gudkov [SLC] Selected answer as best 3rd September 2021
You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin