0

I have installed NitroShare 0.3.1* on Ubuntu 18.10 and 0.3.4 on Windows 7. I can transfer files in either direction with UFW firewall off, but not with it on. I assumed that I needed to add some rules to UFW and tried this for the Transfer port

enter image description here

and something similar for the broadcast port 40816. The result is this

enter image description here

This works - but is it correct? I don't want to take any risks.


*The standard version 0.3.3 has a bug, it isn't related to security, it just stops the transfer.

1 Answers1

1

An ArchLinux page says:

Basic configuration

A very simplistic configuration which will deny all by default, allow any protocol from inside a 192.168.0.1-192.168.0.255 LAN, and allow incoming Deluge and rate limited SSH traffic from anywhere:

ufw default deny

ufw allow from 192.168.0.0/24

ufw allow Deluge

ufw limit SSH

So I picked out

# ufw allow from 192.168.0.0/24

which I think should allow connections between computers within my LAN only. I'll now have to work out how to do this on the Windows computer.