Allow a connection from a particular remote IP address to any IP address on the local machine on a specific port (TCP & UDP).
ufw allow from <REMOTE_IP> to any port <PORT_NUMBER>
Verify with:
ufw status
The ramblings of a computer geek
Allow a connection from a particular remote IP address to any IP address on the local machine on a specific port (TCP & UDP).
ufw allow from <REMOTE_IP> to any port <PORT_NUMBER>
Verify with:
ufw status