First page Back Continue Last page Summary Graphic
Explicit routing: Ipchains tagging
Use Ipchains input chain to tag packets and ip route
- ipchains -i dev eth0 -A input -s 10.2.0.4 -m 1
add extra routing table for packet redirection
- ip rule add fwmark 1 table 200
- ip route add table 200 nexthop dev eth4