I know I can use
sudo ufw allow ssh command. But, what I need is how to allow ssh from specific sub/net and to only one IP address. I have multiple IP address to server. Here is what I want to do
Internet -> sub/net (18.104.22.168/29) -> server with_multiple_ips (22.214.171.124)
How do I tell
ufw allow ssh to do this for me?