Quote:
Originally Posted by RyanC
Teach. TEACH!!!!
|
It can be done in many ways and it all depends on what you want to do and what is your setup at home.
I have what I loosely call a "server" running at home.
We have a wireless router in our house of five people. I have two cables running from the router to my server. The router is running DHCP and DNS.
What I did was run my own authoritative DHCP. This causes my DHCP offers be preffered from the router's DHCP. For failover purposes, I didn't turn off the DHCP on the router in case my server goes down. roommates would be lost as to what happened to their internet.
My DHCP points everyones gateway and DNS to my server.
On my server, I forward all traffic back to the router.
This gives me the option to do whatever I want to do with everyone's connection on my server. Currently I monitor who downloads how much and throttle them accordingly so we don't go over our quota and also giving my laptop higher priority over them. This is done with a couple of useful tools, iptables and wondershaper.
It is somewhat counterproductive to re route all traffic from the router to my server and back, but I wanted a solution that wouldn't involve me physically running around with network cables. It would cause questions as to what I am doing.
Now this is not perfect as anyone that knows what I am doing could just set their ip,gateway, and dns statically, bypassing my server. In order to secure this, I would have to connect the modem into the server and not the router. But again, this way there would be no internet if there is no server.
Edit: By the way, you wouldn't believe how much por n some people watch.