News:

We really need your input in this questionnaire

Main Menu

Agent Tunnel Port Configuration

Started by gdodd, January 25, 2018, 04:46:58 PM

Previous topic - Next topic

gdodd

Is there a way to change the Agent Tunnel Port from 4703 to port 80 or 443 for example? If not, I'd like to make a feature request to allow this. Use case, some of my clients have strict firewall rules and do not allow traffic out except on specific ports, with typical web ports (80/443) being allowed.

Thank you,
Gary

Victor Kirhenshtein

Hi,

it is supposed to be. You can set listening port on server by changing parameter AgentTunnelListenPort, and on agent side you can specify port after : in ServerConnection parameter. However, due to a bug, agent will always connect to port 4703. It is fixed in current development branch and fix will be included into next release.

Best regards,
Victor

gdodd

Maybe this is part of the bug. I am on version 2.2.3 and do not have the AgentTunnelListenPort parameter in my server configuration (or I am looking in the wrong place).

Looking forward to the next release as I am eager to get the rest of my clients on NetXMS.

gdodd

I have tested this with agent 2.2.4 and was able to use ServerConnection = <server_ip>:<port> in the agent config.

Server side I needed to add the parameter (see below) to the config table using my database manager

AgentTunnelListenPort 443 1 1 I N Port server listens on for Agent Tunnels NULL 4703

Victor Kirhenshtein

Hi,

you can also add any missing configuration parameter directly from UI (there is option "add parameter" in server configuration view) or using nxdbmgr:

nxdbmgr set AgentTunnelListenPort 443

Best regards,
Victor