jelengar DD-WRT Novice
Joined: 19 Jun 2008 Posts: 1
|
Posted: Thu Jun 19, 2008 19:38 Post subject: seperate wan for http seperete for everything else |
|
Hi,
so I've gotten myself a little project. Using 2 WRT54gl, i have setup connection to 2 different networks (both are working in client mode and static ip for wan) each of this 2 networks has internet access. Internet is now working on both routers and if i set either one as a gateway on my pc internet obviously works.
network now looks like this:
router1
br0: 192.168.1.1
router2
br0: 192.168.1.2
routers are connected between each other with cable. In router1 a workstation is plugged as well.
So now here comes a question. How to setup iptables (on router1 i suppose) so that http traffic will be forwarded to the router2 and go to internet from there, all other traffic will go to internet via router1. I have tried writing rules with FWbuilder, but no luck (so far).
before you ask why on earth am i doing this, and telling me to stop stealing internet from neighbours let me tell you that this is just an experiment.
thank you for your help |
|