I also want to make the router do more than just route: it's going to have a transparent ad zapping caching web proxy, traffic shaping, firewall, ntpd, ...
On 4/5/06, Mr FUBAR <[EMAIL PROTECTED]> wrote: > I'll take a look at your iptables and rp-pppoe wiki's. I did the > dnsmasq configuration myself, the .conf is very well documented > indeed. > > I had some trouble getting dnsmasq to start: it complained about some > non existing dir / file but wouldn't say which one. > > The man pages helped me out tho. :) > > > On 4/3/06, Thomas Bächler <[EMAIL PROTECTED]> wrote: > > Mr FUBAR wrote: > > > Quote from my BBS-thread (http://bbs.archlinux.org/viewtopic.php?t=20152) > > > : > > > > > > I'm writing a Wiki page on how to set up ArchLinux as a router / NAT > > > (http://wiki.archlinux.org/index.php/Router). I've got a box I'm > > > turning into one, so I'm trying to write all the steps I do/did down > > > for future reference. > > > > > > I have little experience with Linux networking, I can get a NIC get an > > > IP and that's about it. So I'm mostly using documentation I found > > > googling around and on Wiki's from other (-ugh ugh- Gentoo -ugh ugh-) > > > distributions. > > > > > > I'd appreciate it if someone would review what I've got so far > > > (everything up until building a custom kernel!! :D) and tell me if > > > it's accurate. > > > > > > Once I've got my router working, I'm even planning on writing a few > > > helper scripts and maybe even make a specific router repo. But first > > > things first: the installation and configuration of the router. > > > > > > Any input will be greatly appreciated! > > > > > > ---------- > > > > > > I know I'm not showing a lot of patience, but it's my last day before > > > my two week vacation so I'm really not doing anything at work ... I'M > > > SO BOOOOORED! Someone please talk to me! :'( > > > > Ok, I am probably too late, but I'll answer anyway: > > > > I set up an arch router recently and it was very easy: You need an internet > > connection (in my case > > ppp), iptables and dnsmasq. That's it. > > > > 1) I wrote an article on the wiki on how to set up pppd for pppoe, but the > > setup is almost the same > > if you use rp-pppoe or your ISP gives you your IP via dhcp. > > > > 2) I also wrote a wiki article about iptables, which gives you all the > > necessary instructions on how > > to set it up for routing, just follow that wiki and you're fine > > > > 3) Set up dnsmasq as a dhcp/dns server. This is sooo easy, the dnsmasq > > configuration is > > self-explanatory, took me 10 minutes to make it work. > > > > That said, all the tools and instructions are there, have fun writing! > > > > _______________________________________________ > > arch mailing list > > [email protected] > > http://www.archlinux.org/mailman/listinfo/arch > > > _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
