[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using an old laptop as a base station

On Sat, 2003-04-19 at 17:25, Eric C. Cooper wrote:
> 1. Configure the laptop as a router, by doing
>       echo 1 > /proc/sys/net/ipv4/ip_forward
>    This needs to be in some script that is run whenever the machine boots.

Easily done by editing /etc/networking/options

> 3. Set up ipchains/iptables rules to control what comes into
>    your wired LAN from the airwaves.

The iptables packages which comes with debian have a handy way of saving
the iptable-rules you have setup. After you are satisfied you can issue
an '/etc/init.d/iptables save active'

This will make sure iptables are started every time you boot.

Alexander Brill <kiowa@project23.no>
PGP-key: http://www.nettstudio.no/pgp/alexander.brill.asc

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: