DNAT/SNAT question

Gary W. Smith gary at primeexalia.com
Fri Apr 15 01:28:00 CEST 2005

I cleared and reloaded everything and it's now returning an Invalid
argument error.  

iptables -t nat -A PREROUTING -d -j NETMAP --to
iptables -t nat -A POSTROUTING -s  -j NETMAP --to

iptables -t nat -A OUTPUT -d  -j NETMAP --to
iptables: Invalid argument

Almost there.

-----Original Message-----
From: netfilter-bounces at lists.netfilter.org
[mailto:netfilter-bounces at lists.netfilter.org] On Behalf Of Jason
Sent: Thursday, April 14, 2005 4:17 PM
To: netfilter at lists.netfilter.org
Subject: Re: DNAT/SNAT question

On Thu, Apr 14, 2005 at 04:08:08PM -0700, Gary W. Smith wrote:
> I'm almost there.  I get an error when trying to use NETMAP in the
> OUTPUT chain.  Is there something else I need to add?
> iptables -t nat -A OUTPUT -d  -j NETMAP --to
> iptables v1.2.11: Bad network address `'

'nother typo:  the network address for is not
.8.  i thought we agreed on


"Lois: $49.95? Are you sure we can afford this?
 Peter: Lois, our relationship can not be measured in nipples and
 dimes... nickels and boobs... money."
        --Family Guy

More information about the netfilter mailing list