1

Range of Device Ports

Тема: 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