using iptables/tc to traffic shape

Bill McGonigle bill at bfccomputing.com
Tue Aug 11 15:51:44 EDT 2009


if you don't mind a couple guesses:

On 08/10/2009 07:10 PM, Flaherty, Patrick wrote:
> I can't seem to get this to work though. The dnat rule gets a single hit
> but the packet doesn't show up at the throttler:eth1.

Do you have?:
  net.ipv4.ip_forward = 1

> #accept all traffic on eth0, send it thru eth1, seems like *some*
> packets should show up on eth1 eh?
> iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT

Does the packet exist in both -i eth0 and -o eth1 states if it's being
forwarded or just one at a time?  That is, perhaps -i eth0 would be
enough.  Obviously I don't understand the theory well enough.

-Bill

-- 
Bill McGonigle, Owner
BFC Computing, LLC
http://bfccomputing.com/
Telephone: +1.603.448.4440
Email, IM, VOIP: bill at bfccomputing.com
VCard: http://bfccomputing.com/vcard/bill.vcf
Social networks: bill_mcgonigle/bill.mcgonigle


More information about the gnhlug-discuss mailing list