Skip to contentSkip to conversation

Queue all traffic...even if not destined for local machine

DISCUSSION Curtis Wyatt 1 participant 2 messages Aug 26, 2008 – Aug 27, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 6886667862162200006@unknownmsgid

#1 lore raw

Hello all, me again:

I have a box with two Nic cards on it. What I will be doing is taking a packet coming in on one nic, encapsulating it, and then sticking it on the other card. I know how to Queue traffic destined for that machine (iptables --insert INPUT 1 --in-interface eth+). But how do I get traffic not destined for itself? --insert FORWARD 1 doesn't seem to work.

Do I need to look at promiscuous mode?

Thank you very much
-----------------------------
Curtis

#2 lore raw

I have verified that Wireshark can see the incoming packets. Also if I do iptables -t nat -I PREROUTING -j QUEUE does it too...but I have read that isn't a good idea.

Quoted 16 lines · Curtis Wyatt

Hello all, me again:

I have a box with two Nic cards on it. What I will be doing is taking a packet coming in on one nic, encapsulating it, and then sticking it on the other card. I know how to Queue traffic destined for that machine (iptables --insert INPUT 1 --in-interface eth+). But how do I get traffic not destined for itself? --insert FORWARD 1 doesn't seem to work.

Do I need to look at promiscuous mode?

Thank you very much
-----------------------------
Curtis

Signature · 3 lines
-----------------------------
Curtis
http://gocalipso.com