Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.

  2. #2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts