If you ran a Manual Shutdown recovery test and did not check the “Internet Access Allowed” option, you can manually enable outbound internet by opening an ssh connection to your Cloud IBR Firewall and performing the following steps.
Enable outbound internet in a VMware recovery environment:
sudo sed -i ‘s/^#-A POSTROUTING -o ens160 -j MASQUERADE$/-A POSTROUTING -o ens160 -j MASQUERADE/’ /etc/ufw/before.rules
Enable outbound internet in a Hyper-V recovery environment:
sudo sed -i ‘s/^#-A POSTROUTING -o ens160 -j MASQUERADE$/-A POSTROUTING -o eth0 -j MASQUERADE/’ /etc/ufw/before.rules
Or you can change it manually:
sudo vi /etc/ufw/before.rules
Uncomment the following line in by removing only the pound sign. NOTE: For VMware, leave ens160 in the line. For Hyper-V, change ens160 it to eth0
#-A POSTROUTING -o ens160 -j MASQUERADE
Save the file and reboot the firewall: sudo reboot now
