I have a Ubuntu 18.04 Server running Apache on a Hyper-V VM. Right now as it's set up it can be accessed from anywhere on the web, how do I restrict access to the internal network only for setting up a intranet?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
I was actually able to figure it out on my own!
sudo ufw default deny sudo ufw allow from (local ip address, use 0 as last #)/24 sudo ufw reload