Copy of Lightsail
Last updated
replace firewall rules of '<vm_name>' lightsail vm with following -
<port>|<protocol>|<one or more ipv4/ipv6 ips without suffix (e.g. /32, /24 etc) separated by comma>
For example -
replace firewall rules of 'abc' lightsail vm with following -
22|tcp|<ipv4_1>,<ipv6_1>
443|tcp|<ipv4_1>,<ipv6_1>start '<vm_name>' lightsail vm
stop '<vm_name>' lightsail vm
reboot '<vm_name>' lightsail vm