0

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?

Thanks!

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.