Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. what connects to what?

what connects to what?

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 16.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ?
    ?
    possamai
    wrote on last edited by
    #1

    Just wondering, does the agent connect to the server or the other way around?

    Why am I asking:
    I'm trying to connect an external machine to my server but both are behind a router.
    Now will I need to forward an external port to my server(on my side) or will I have to forward an external port to the agent(on the other side)?

    And, how safe is it?
    it's a little creepy to open up an incoming port just like that....
    I'm not to fond of doing that....

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      Server connects to agent, by default using port 4700.

      It should be safe - first, agent accepts connection only for explicitly listed IP addresses (usually you will have only one address - of your NetXMS server). In addition, you can configure NetXMS to use encrypted connections between server and agent, and configure shared secret authentication on agent, so it will acccept connections not only from specific addressm but also only if valid shared secret was provided.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • ?
        ?
        possamai
        wrote on last edited by
        #3

        Why?

        I mean, wouln't it be smarter to let the agent connect to the server? Or even both ways..
        This would also fix the problem with DHCP I think.

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          possamai said in what connects to what?:

          Why?

          Design flaw 🙂 I agree that connections from agent to server can be very useful in many situations, especially for hosts with dynamic addresses or behind NAT. It is in my long to-do list, because it requires significant changes on server side, but eventually this feature will be available.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • ?
            ?
            possamai
            wrote on last edited by
            #5

            Don't be so hard on yourself  🙂
            I wouldn't call it a design flaw..
            It can be very useful to be able to push commands to an agent (server 2 agent communication, like now)
            instead of always having to wait for the agent to pick up it's todo list at the server...
            2-way communication would be best...

            See, you're already half-way!!  ;D  😉

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups