AW: Routing Specific Protocols
Philipp Snizek
mailinglists@belfin.ch
Sun, 14 Oct 2001 19:44:19 +0200
>Hi,
>
>I am attempting to route web traffic out of a different
>interface to the
>rest of my traffic.
>I have three interfaces, eth0 (Internal LAN 10.10.10.0/24), eth1
>(Internet) Mike (IPIP Tunnel to 10.10.11.0/24).
>Presently all of my internet traffic is forwarded from eth0, and
>masqueraded out of eth1.
>All traffic to 10.10.11.0/24 is routed from eth0 to mike.
>
>I wish to send all port 80 traffic from eth0 to mike, instead of to
>eth1.
>I have tried this line, to no avail:
>
>Iptables -A FORWARD -s 10.10.10.0/24 -i eth0 -o mike -p tcp -dport 80
I don't know whether you made a sytax error:
Iptables -A FORWARD -s 10.10.10.0/24 -i eth0 -o $mike -p tcp -dport 80
>And on the firewall at the other end, have enabled masquerading of
>packets from 10.10.10.0/24 out of it's internet interface.
>
>Any help would be appreciated,
>
>Cheers,
>
>Dan Hart
>