On May 22, 2013, at 3:30 PM, Jeff Wiegley <jeffw@xxxxxxxx> wrote: > I'm trying to do to some service based routing using the "ip rule" and "ip route" > by marking packets. Is this what you mean? Sorry if I misunderstood. echo "2 myGreatTable" >> /etc/iproute2/rt_tables iptables -t mangle -A OUTPUT -p tcp --dport 22 -j MARK --set-mark 1 ip rule add fwmark 1 table myGreatTable ip route add default via 192.168.1.1 dev eth1 table myGreatTable Bryan -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html