Eduardo Bejar wrote:
Oops! I´m sorry, my head was on the HTB list...Eduardo----- Mensaje original -----De: David BarceloPara: Eduardo Bejar ; [EMAIL PROTECTED]Enviado: Martes, 22 de Julio de 2003 11:00Asunto: Re: [Bridge] Can't get iptables to catch port 80 packetsWhy do I need to replace my tc binary? I don't necessarily want to shape traffic. I just want to catch port 80 packets and redirect them to port 3128. I don't know why I am having so much trouble with this.
Eduardo Bejar wrote:
No, you just need to replace your tc binary. Since 2.4.20, bridge code is included.----- Mensaje original ----- De: "David Barcelo" <[EMAIL PROTECTED]> Para: <[EMAIL PROTECTED]> Enviado: Martes, 22 de Julio de 2003 9:51 Asunto: Re: [Bridge] Can't get iptables to catch port 80 packets Do you still need to apply a patch for netfilter to work if you are running the 2.4.21 kernel. David Barcelo wrote:Do you still need to pathc the kernel with the bridge-nf patch even if you are running the 2.4.21 kernel? David Barcelo wrote:Thanks Eduardo, I forgot that I had set that. Now if I could get some help with actually catching my port 80 packets and redirecting them to squid then I would be much obliged. Here is my setup:192.168.2.0/24(LAN)>----->eth1-br0(192.168.2.29)-eth0>------>192.168.2.1(rou ter)Here are the chains I have set: iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128 iptables -A INPUT -i br0 -p tcp -d 192.168.2.29 -s 192.168.2.0/24 --dport 3128 -m state --state NEW,ESTABLISHED -j ACCEPT I am getting no redirection activity. Is there something obvious that I am missing? David Eduardo Bejar wrote:David, Recompile your kernel with Network packet filtering debugging = N Perhaps you set it as Y. Eduardo ----- Mensaje original ----- De: "David Barcelo" <[EMAIL PROTECTED]> Para: <[EMAIL PROTECTED]> Enviado: Viernes, 18 de Julio de 2003 11:42 Asunto: [Bridge] Overflow of messages Hello all and greetings, Let me just say that the bridging software is working just as expected. I need it for a transparent squid cache that I am dropping inline between my router and LAN. I deployed the bridge yesterday and was able to pass all my traffic throught it right away. Yea! But there is one thing that I would really like to fix on it. I followed ther HOWTO that came with the source and when the bridge came on line I became inundated by a flood of messages being written to my console. Help! How do I redirect these messages about my bridge to it's own log file. TIA -- David ______ James David Barcelo Network/Systems Administration Data Junction Corporation 2201 Northland Drive Austin, Tx 78756 tel: 512-459-1308 ext. 349 cel: 512-619-3998 fax: 512-459-1309 www.datajunction.com * The contents and attachments in this email are confidential. ______ _______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge
-- ______ James David Barcelo Network/Systems Administration Data Junction Corporation 2201 Northland Drive Austin, Tx 78756 tel: 512-459-1308 ext. 349 cel: 512-619-3998 fax: 512-459-1309 www.datajunction.com * The contents and attachments in this email are confidential. ______
-- ______ James David Barcelo Network/Systems Administration Data Junction Corporation 2201 Northland Drive Austin, Tx 78756 tel: 512-459-1308 ext. 349 cel: 512-619-3998 fax: 512-459-1309 www.datajunction.com * The contents and attachments in this email are confidential. ______
_______________________________________________ Bridge mailing list [EMAIL PROTECTED] http://www.math.leidenuniv.nl/mailman/listinfo/bridge
