Building a captive portal with OpenBSD

There aren’t (m)any lightweight captive portal solutions out there for us, except a few clumsy heavy or badly maintained projects together with heir professional counterparts in routers better than home-grade. Captive portals are cool and useful, read on how to build one, including video demo.

[Read more...]

A wireless trap using OpenBSD – reloaded

Build a OpenBSD wireless access point that redirects any client request for any website to a website of your own design. With a little imagination you could adapt this technique for more nefarious purposes – but that is not something we endorse here. Something more applicable to our kind may be to use this technique to do basic DNS based filtering, ad-blocking or something along those lines.

[Read more...]

A wireless access point / Hotspot using OpenBSD

OpenBSD wireless Hotspot

This Guide explains how you would setup a wireless hotspot using OpenBSD and PF so you can provide internet access to wireless clients such as laptops or phones.

[Read more...]

Fail2ban with PF on OpenBSD 5.2

This explains how to quickly setup the amazing fail2ban, which monitors your log files for activity you specify and performs certain actions once a threshold is reached. Simplest case: Monitor authlog for failed ssh login attempts, and ban the originating IP after a few tries.

[Read more...]

IPFW Firewall Explained

General Information

This guide helps you setup a simple firewall for any FreeBSD version (recent) that can load the firewall module.

[Read more...]

Talking to a Cisco PIX Firewall

The original guide is found at http://thoughtstorm.net/howto/bsdtopix.

General Information

Okay, I wrestled this for a few days; there is no real documentation on making a xBSD-based firewall talk the
VPN talk to a Cisco PIX that I could find. It’s based on racoon, with ipfilter doing the firewalling. gif interface support should already be compiled into the kernel unless you specifically removed it.

[Read more...]

FreeBSD as a Gateway/Firewall with IPFilter

The original guide is found at www.derrickl.net/guides.

General Information

The purpose of this guide is to provide the reader with enough knowledge to configure FreeBSD with a basic NAT/Firewall setup, allowing you to share your internet connection between all your computers with only one IP address, and to protect your network from hackers.

[Read more...]