Intro
While Shadeform does not currently provide any firewall rules through the platform, we can set up a firewall on the GPU instance using Uncomplicated Firewall.Setting up UFW
Follow the QuickStart guide on how to create a GPU instance and SSH into it. Once you have terminal access, use the following command to verify that UFW is installed on the machine. UFW should already come pre-installed on all Shadeform instances.Check for UFW
ufw cli.
You can specify the port range and the protocol.
Additionally, you can also specify blanket allows and denies.
Examples
ufw policies, make sure to enable ufw using the command below. Rules are only applied when you enable the service.
Enable UFW