Network stuff

2009-04-24

Wireless networks can be tricky to set up sometimes, mostly because router manufacturers disagree on best-practices and default addresses. Today I installed an access point at the radio station. In order to ensure security, I sectioned off the Ethernet portion from the Wifi by throwing an additional adapter into our server’s PCI bus.

The first try didn’t work because I was using another Realtek chipset card, or at least that’s what seemed to be the issue. I replaced it with a Davicom Tulip and it worked just fine after tweaking the rc.conf.

The most important step took more thought, and that was adding iptables entries that block traffic between the two internal interfaces. Essentially it looks something like this:-A fw-interfaces -i eth2 -d 192.168.1.0/24 -j DROP
-A fw-interfaces -i eth2 -j ACCEPT