I have been testing various setups in Scaleway and thought I’d mention something I found regarding ufw
in case it helps save someone similar frustration and time.
Specifically, I was trying to get MIAB running on their bare metal x86 64bit option, currently called C2. MIAB setup was hanging at the “Initializing system random number generator…” step, but in fact that finished okay but the Firewall step was what was really hanging. The very helpful post (referenced at the bottom of my post here) helped diagnose the problem and reveal the workaround needed.
- After the fresh install of the instance, as soon as you SSH in, install ufw with:
apt-get install ufw
- Edit /etc/default/ufw and set these 2 options:
IPV6=no DEFAULT_INPUT_POLICY="ACCEPT"
- Edit /etc/ufw/after.rules and add a line before COMMIT:
-A ufw-reject-input -j DROP
- Then issue these 3 commands:
ufw logging off ufw allow ssh ufw enable
- Finally you are able to run the MIAB installation:
curl -s https://mailinabox.email/setup.sh | sudo bash
Note I was able to get MIAB running without any modifications from instance creation on their VC1 server type. The above was only required for the bare metal option.
Reference: Post on Scaleway Community Forum