I have a couple of the enterprise gateways and I am trying to write tag values into an Ignition SCADA using the Node red Ignition module. The problem I am having is that the device appears to be using ports somewhere in the 37,xxx range and IT has those ports blocked. Are the port numbers the device will use defined somewhere or better yet configurable?
Hi,
The port range for what you’re referring to is: 32768-60999.
This is the default range for Linux machines. Do you have any other linux machines on the network encountering this issue?
I only have 2 enterprise gateways on this test, both are having the same issue. Is there anyway to narrow that range of ports?
The alternative is to setup OPC servers on each gateway, I’ve done that on one of these and that connection seems to work but it is more work to setup than using the Ignition tag write nodes. We are looking at adding a bunch more of these gateways so I am trying to determine our path forward. Thanks for your reply.
As a forewarning I have not done any testing on the effects this will have on the Gateways in particular. It shouldn’t break anything, but I’ve never had a need to change these values on a linux machine before.
To change these values on the gateway you can SSH into the Gateway and use the commands:
- sudo -i
** Enter the same password you used to login to SSH - nano /etc/sysctl.d/99-sysctl.conf
now add a new line at the end of this file:
net.ipv4.ip_local_port_range = [start_range] [end_range]
replace the parts in square brackets with your desired start and end ephemeral port values. i.e.
net.ipv4.ip_local_port_range = 32769 60998
Then use the command:
sudo sysctl -p
Now you should have a new range for ephemeral ports and it should survive reboots.
@jrod Have you considered using MQTT to communicate to Ignition? If you have the right MQTT modules it maybe a more scalable approach.
-G