So today (actually it has been a while since I received my RPI, however, I neglected to write this post) I have received the newest version of the Raspberry Pi, the RPI 2 Model B. This is a significantly upgraded model from its predecessor the Raspberry Pi Model B+, mainly featuring an upgrade CPU and more memory. For more information on the RPI 2 Model B you can check out the stats here: http://www.raspberrypi.org/products/raspberry-pi-2-model-b/, Wikipedia also has a very nice comparison chart on https://en.wikipedia.org/wiki/Raspberry_Pi.

Prerequisites 

In order to start using it, I will need to run through some basic setup that I do with all my raspberry pi’s. This mainly consists of the initial setup, setting up a static IP (all my raspberry PI’s are hard wired), and lastly, setting up some security features.

I will skip over the initial setup that includes expanding the filesystem, changing the default pi password, enabling SSH, changing the hostname, and running all the updates. If you are looking for documentation on doing that, please refer to http://www.raspberrypi.org/documentation/configuration/raspi-config.md and for any raspberry pi updates see this page http://www.raspberrypi.org/documentation/raspbian/updating.md for more information.

Setting up Static IP

Now, with your initial setup done. Let’s set up a static IP for our Raspberry Pi. To do this you will either need to SSH into your raspberry PI, (you can obtain the current IP via tools like angry IP scanner) or you can proceed to do this locally as well (most-likely how you did your initial setup).

To set up Static IP please follow the steps outlined on my WIKI page. When the time comes to pick a static IP, either use the one that was assigned by DHCP, or make sure to pick one that is not already used. (you can verify the used IP’s via angry IP scanner as well)

We are almost done…

Setting up UFW (Uncomplicated Firewall)

Lastly, we will want to enable some basic firewall features. For this we will be using UFW, which is an easy to use firewall for linux. Essentially, you can think of it as a front for Iptables that reduces the complexities of setting them up.

Setting up UFW is simple, you will need to download, install, and perform a couple (depending on what you want to block/allow) of configurations.

Please refer to my WIKI on setting up UFW. Because I do not know your network layout, and what type of traffic you want to allow/deny it is very likely you will need additional commands.

For additional information, syntax, and examples on UFW refer to the documentation available on here]

Thank you all!