[LARTC] split access & fwmark
Matthias Krauss
MKrauss at hitchhiker.com
Fri Jul 1 16:55:15 CEST 2005
Hi,
I had a nice router which was able to split my outgoing webtraffic over a
dsl line,
then I got a power failure and now my settings are lost and I don't get it
to run.
I've configured a iptable rule like:
/sbin/iptables -A PREROUTING -t mangle -i eth1 -s 192.168.1.10 -p TCP
--dport 80 -j MARK --set-mark 1
and
ip rule add fwmark 1 lookup 10
ip route add default via 192.168.2.2 dev eth3
then I have this kernel parameters:
echo "1" > /proc/sys/net/ipv4/conf/eth3/accept_redirects
echo "1" > /proc/sys/net/ipv4/conf/eth3/accept_source_route
I remember that I had to use those parameter but this doesn't work,
interesting is that
I can successfully configure:
ip rule from 192.168.1.5 lookup 10
Any help would be great.
Matt.
More information about the LARTC
mailing list