1

I'm looking for a way in Linux to perform source-MAC based routing.
My goal is to have a router with the following routing:
echo 100 inbound >> /etc/iproute2/rt_tables
ip rule add iif eth0 priority 100 table inbound
ip route add default via <myproxy> dev eth1 table inbound
echo 200 returntosender >