h1

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

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: