I can add a rule using UFW firewall to allow a single known IP 192.168.1.32
to access my test webserver (192.168.1.48
(on a local mostly trusted network) on Ubuntu 14.04 using:
sudo ufw allow proto tcp from 192.168.1.23 to 192.168.1.48 port 80
Is there a way I can add a range of addressees (e.g. 192.168.1.30-192.168.1.50
to allow more machines on my current network)? Using 192.168.1.30-192.168.1.50
and 192.168.1.30-192.168.1.50
don't work and results in ERROR: Bad source address
.
192.168.1.10-192.168.1.50
(sorry if not clear, they seem to be assigned pretty randomly... ). I was going to test from other addresses but I think your answer could be the solution. BTW, due to having less than 10k, doug can't see your answer.