Routing packges by destination port

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    Hello all,

    After many time reading a lot of stuff I am quite confident using LARTC
to route my trafic. I am still working on QoS (by package type and so on)
but it will stay in my studing class for a long time... ;)

    So lets go to my question... I mounted a router that makes my conections
throug 2 external interfaces.

    Its working fine and my default gateway for entire network behind it
(nated) is the link at interface eth0.

    All traffic going to port 80 is maked as 0x1 and I route it to a table
that makes its default route trhough link2 (eth3).

    My problem begins when I try to use transparent proxy (squid) with this
rule:

iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -p tcp -m tcp --dport 80 -j
REDIRECT --to-ports 3128

    If I make this rule my routing tables begins to scramble all my traffic
and makes it going ALL through only 1 link (eth0). There is anyway to use
transparent squid with multiple routing tables and marking packages?

PS.: What is this error "Icmp checksum is wrong"

Att,

Nataniel Klug

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux