NetXMS Support Forum

English Support => Feature Requests => Topic started by: richard21 on April 12, 2024, 11:32:52 AM

Title: Connect to device Via agent Proxy
Post by: richard21 on April 12, 2024, 11:32:52 AM
it would be good if you could connect to a device e.g. HTTPS or SSH through the agent proxy this would be really useful for remote networks where you have an agent polling devices and in the  client when you right click the device and click connect it would connect through the proxy of the agent
Title: Re: Connect to device Via agent Proxy
Post by: Filipp Sudanov on April 12, 2024, 02:08:27 PM
Its actually available, but not yet documented. In proxy agent config you need to enable

EnableTCPProxy=yes



URL and local command object tools have "Setup TCP tunnel to remote port" - set a checkbox there. When running such object tool, client will open a local port and establish tunnel via the server and the proxy. Your node should be in a zone and the proxy should be specified as zone proxy in proxy's properties.
Then there's a couple of macros that you can use in URL or local command:
${local-address}:${local-port}

More details can be found in recent webinar: https://www.youtube.com/watch?v=M4EgwnzGXVE
Title: Re: Connect to device Via agent Proxy
Post by: richard21 on April 12, 2024, 08:13:34 PM
Cheers Guys that works a treat