Results 1 to 2 of 2
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, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-26-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 11
Queue all traffic...even if not destined for local machine
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+ -j QUEUE). But how do I
get traffic not destined for itself? --insert FORWARD 1 doesn't seem
to work. I enabled forwarding by (echo 1 > /proc/sys/net/ipv4/ip_forward), is there something else I need to do?
Do I need to look at promiscuous mode?
Thanks for the help.
- 08-26-2008 #2Just Joined!
- Join Date
- Jul 2008
- Posts
- 11
I have verified that Wireshark is picking up the packets. Also, if I do an iptables -t nat --insert PREROUTING -j QUEUE it works. However, everything that I have read says that you shouldn't do this as it might have unattended consequences.


Reply With Quote
