1

I have a Linux machine set up to forward IPv4 packets. I'm looking to do this:

if packet matches both source and destination, forward to GW X.

How do I specify the source field? Do I need to use iptables?

slm
  • 369,824
Tim B
  • 11
  • What have you done so far? How many interfaces does the machine have? – Creek Jun 27 '14 at 21:20
  • 2
    This is called source based routing. This answer does something close to what you're trying to do: http://unix.stackexchange.com/a/22794/4358 – phemmer Jun 27 '14 at 22:02

0 Answers0