Using ufw is probably the simplest method. Something like the following:
Code:
$ sudo apt-get install ufw
$ sudo ufw default deny
$ sudo ufw allow from ###.###.0.0/16 to any port 22
$ sudo ufw allow from ###.###.0.0/16 to any port 80
$ sudo ufw enable
Read up on the docs instead of just blindly copying and pasting. Ask if you're still unclear on things. Also, keep in mind it's not too hard to accidentally lock yourself out; use
Lish if that happens.
Edit: you could also configure
Apache itself to only respond to requests from designated IP addresses.