physdev and snat problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm using iptables 1.2.9 and kernel 2.6.0-test11..

I may be doing something really stupid but if I do this:
iptables -t nat -A POSTROUTING -m physdev --physdev-out eth1 -j SNAT --to-source x.x.x.x

I get:
iptables: Invalid argument

but if I just use ACCEPT as the target it works fine, although doesn't do what I want..

I've got the bridging an physdev options turned on (otherwise I couldn't use the ACCEPT target)..

Is this a bug, or am I misunderstanding something?

-- 
Andy Loukes

http://www.navaho.co.uk/






[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux