At a recent Linux users’ gathering Ivan Voras temporarily saved the day when a WRT router was not working. He set up his Acer Aspire One netbook as a wireless access point on FreeBSD 8.0. It had wired connectivity to the Internet from one side and offered WiFi via its Atheros card on the other side. In between it did NAT and protected the LAN side from the Linux hackers, both with ipfw. Here is how he configured it.
Firstly, only one non-base utility was used – dns/dnsmasq, a lightweight DHCP and DNS server. Everything else is in the base system.
Overall steps taken to create a functional FreeBSD AP with a wired connection are:
- Configure the network interface
- Configure firewall and NAT
- Configure dnsmasq