Open a firewall port (ufw)
high risk
ufw allow from <cidr> to any port <port>Restrict by sourceAdds an allow rule. See the flags and examples below, and run `man ufw` for the full reference.
ufw allow from 10.0.0.0/8 to any port 22Restrict by source · explain & risk-check →ufw status numberedRules · explain & risk-check →Reference text is hand-written and may be incomplete — check man ufw for your version. Test destructive commands on a non-production system first.