[mdlug] iptables question

Carl T. Miller millerc at cantonpl.org
Thu Mar 22 07:51:10 EDT 2007


David Relson wrote:
> Not a good day yesterday :-<  I did a "refresh" of my firewall rules
> and lost NAT. For the past several years, I've been using Carl's
> netmasq to setup firewall rules.  It has worked flawlessly -- until
> yesterday.  Now, iptables is rejecting the following command:
>
>    iptables -t nat -A masq_eth1 -o eth1 -j MASQUERADE
>
> with message:
>
>    iptables: Invalid argument

I've seen that message before, and it typically happens when
an interface doesn't have an IP address.

Try rebooting and verifying that the network settings are right.

c





More information about the mdlug mailing list