NoteIn this procedure, C1 refers to the first batch of child devices to be upgraded,
and C2 refers to the second batch of child devices.
|
Procedure
- Select the first batch of devices to be upgraded (referred to hereafter as
C1).
- Select a parent device.
- Select child devices.
- Modify the DNS record to stop sending messages to the selected devices.
- Change the iptables on the second batch of child devices (referred to hereafter
as C2).
- Change the iptables.
# vi /etc/init.d/rcFirewallAt the end of start(), add the following rules:iptables -I INPUT -s [parent's IP] -j REJECTiptables -I INPUT -s [C1's IP] -j REJECTiptables -I INPUT -s [parent's IP] -p tcp --sport 5432 -j ACCEPTiptables -I INPUT -s [parent's IP] -p tcp --dport 5432 -j ACCEPTiptables -I OUTPUT -d [C1's IP] -j REJECTiptables -I OUTPUT -d [parent's IP] -p tcp --sport 5432 -j ACCEPT - Apply the added rules.
# /etc/init.d/rcFirewall restart
- Change the iptables.
- Change the iptables on the parent device.
- On the parent device, add the following rule:
iptables -I INPUT -s [C2's IP] -p tcp --sport 5432 -j ACCEPT - Apply the added rules.
# /etc/init.d/rcFirewall restart
- On the parent device, add the following rule:
