<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:transparent;width:100%;'><tr><td valign='top' style='font: inherit;'><div id="yiv591169098"><div id="yiv63473293">hello.. i'm new on linux, can some one help me whit my case.. i'm planning to make a bridge whit imq ( htb/ cbq bandwidth shapper running ) + tproxy running on the bridge. all connection from local network to the internet must be shapped and get proxyed by tproxy at the bridge before reach the adsl modem. now i'm allready compiled the kernel + iptables + squid 2.6 whit imq & tproxy patch and run well when i test the iptables whit tproxy sample script, now my problem is how look like is the syntax for iptables so my box can running as bridge,shapper and proxy ? here is my bridge setting :<br><br> --------------------<br> #
bridge.sh<br> ifconfig eth0 down<br> ifconfig eth1 down<br><br> ifconfig eth0 0.0.0.0 up<br> ifconfig eth1 0.0.0.0 up<br><br> brctl addbr br0<br><br> brctl addif br0 eth0<br> brctl addif br0 eth1<br><br> ifconfig br0 192.168.1.253 up<br> route add default gw 192.168.1.254<br><br> brctl stp off<br> btctl setfd br0 off<br> --------------------<br><br> <br><br><br><br></div></div></td></tr></table><br>