1

Range of Device Ports

Topic: Range of Device Ports

Due to the increase in the number of supported hardware, it has become necessary to expand the range of open ports on servers with Wialon Local.

To do this, open ports from 20100 to 30000 (the previous standard range of ports is from 20100 to 21999) in the iptables rules, following the steps below.

1. If you use the standard iptables configuration, open the /etc/iptables/rules.v4 file and replace the lines:

-A INPUT -p udp -m state --state NEW -m udp --dport 20100:21999 -m comment --comment "HW ports" -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 20100:21999 -m comment --comment "HW ports" -j ACCEPT

with the lines:

-A INPUT -p udp -m state --state NEW -m udp --dport 20100:30000 -m comment --comment "HW ports" -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 20100:30000 -m comment --comment "HW ports" -j ACCEPT

You can do the same with one command:

sed -i 's/21999/30000/' /etc/iptables/rules.v4

2. Next, execute:

iptables-restore < /etc/iptables/rules.v4
Wialon Local Expert
2

Range of Device Ports

Re: Range of Device Ports

All Wialon Local admins: Expand HW ports to 20100-30000 in iptables for new devices. Critical update - test in staging first!

3

Range of Device Ports

(edited by ericmenk3 13/04/2025 07:18:23)

Re: Range of Device Ports

Thanks for the detailed steps — worked perfectly. Expanding the port range to support more devices was much needed! visit Top bathroom sanitary brands for homes