seperate wan for http seperete for everything else

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
jelengar
DD-WRT Novice


Joined: 19 Jun 2008
Posts: 1

PostPosted: Thu Jun 19, 2008 19:38    Post subject: seperate wan for http seperete for everything else Reply with quote
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 Smile
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum