Build a Firewall/Router with a Pogoplug/Dockstar

A while back I built myself a Linux based Owncloud server, but I was uncomfortable leaving it on my LAN. One writer says putting an Apache server on your lan is a lot like raising foxes in one corner of a henhouse–a bad idea. So I decided to move my Owncloud server into it’s own DMZ. Now my ISP’s (AT&T) router allows me to setup a DMZ, but I didn’t like the idea of having my Owncloud server directly on the Net.

Turns out I had a pogoplug I’d bought on spec for $19.99 that I wasn’t using. So I decided to turn it into a highly configurable router/firewall. I started by installing debian lenny and upgrading to squeeze following the guides posted on this site. and then added a Belkin F4U047-RS USB 2.0 Ethernet Adapter (as eth1) and a Trendnet TU2-ET100 USB ethernet adapter (as eth2).

After that I added a Shorewall firewall, Dnsmasq to provide DNS and DHCP services. This page will serve as the parent for the pages describing Dnsmasq configuration and Shorewall configuration.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: