Routing Specific Protocols
Daniel P. Hart
dan@hart-house.com
Sun, 14 Oct 2001 18:44:22 +0100
Philipp,
The interface is called mike, it's not a variable.
Cheers though mate :)
> -----Original Message-----
> From: Philipp Snizek [mailto:mailinglists@belfin.ch]
> Sent: 14 October 2001 18:44
> To: Daniel P. Hart; netfilter@lists.samba.org
> Subject: AW: Routing Specific Protocols
>
>
> >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
> >
>