All of lore.kernel.org
 help / color / mirror / Atom feed
* Invalid argument in -j SNAT
@ 2003-12-02 18:50 Oleg Savostyanov
  2003-12-02 20:18 ` Rob Sterenborg
  2003-12-08 12:34 ` Oleg Savostyanov
  0 siblings, 2 replies; 7+ messages in thread
From: Oleg Savostyanov @ 2003-12-02 18:50 UTC (permalink / raw)
  To: netfilter

Hello All,

After N iterations of compiling kernel, installing iptables, applying
patch-o-matic...

the following command in a script from NAT HOWTO failed to execute
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source XXX.XXX.XXX.XXX
with an error "iptables: Invalid argument" I suspect, that an argument
is XXX.XXX.XXX.XXX
yesterday everything was fine (even more - it used to work with
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE but now
to the command -j MASQUERADE it says - "iptables: Invalid argument")
ok
I changed -j MASQUERADE to -j SNAT - it demanded --to-source
I issued the above and got stuck on that


Anybody has a clue on it?
Debian 3.0
iptables v1.2.9
kernel 2.4.22

I even tryed to reboot with an old kernel - the result is the same.
Please help

-- 

Oleg                          mailto:savostyanov@internetplustravel.ru



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-12-08 12:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-02 18:50 Invalid argument in -j SNAT Oleg Savostyanov
2003-12-02 20:18 ` Rob Sterenborg
2003-12-03 13:40   ` Re[2]: " Oleg Savostyanov
2003-12-03 14:03     ` Limit simultaneous connections with iptables Mauricio Portilho Cavalcanti
2003-12-03 14:16     ` Re[2]: Invalid argument in -j SNAT Rob Sterenborg
2003-12-05 15:55   ` Oleg Savostyanov
2003-12-08 12:34 ` Oleg Savostyanov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.