split access & fwmark

Linux Advanced Routing and Traffic Control

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

 



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.



_______________________________________________
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