Location: Council Bluffs, Iowa
|
 11-06-2009, 02:19 AM
 | You don't really need to flash the router. Just disable DHCP on your router and add your own routing magic served up by your own DHCP server running on a PC.
You need two private IP subnets. Say, 192.168.1.X and 192.168.0.X . We'll say the .0 subnet is the subnet your router listens on (so it's at, say, 192.168.0.1) and your messing-with-people machine is also on that .0 subnet. Along with any other machine you want to have normal Internet access.
The messing-with-people machine also has a second IP on the same interface, say 192.168.1.1. Not .0.1 -- that's the router. Set up a DHCP server (like dhcpd) that advertises your .1.1 network with your machine as the default gateway.
Set up iptables rules to NAT any non-port-80 traffic. Port 80 traffic gets redirected to your transparent web proxy that messes with people.
Edit: oh wait that's right, google for howtos like the guy said. I bet they accomplish the same thing but explain it better. |
|
|
Last edited by mspencer; 11-06-2009 at 02:21 AM.
| #7
|
|
|