Problem with DNAT

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> >
> > Hi,
> >
> > I have some problems with iptables 1.2.7a. Some of my rules which wor=
ked
> > well with iptables 1.2.5 produce an error message "iptables: Invalid
> > argument". The specific rules look like this:
> >
> > iptables -t nat -A OUTPUT -p tcp -d <ip> -j DNAT --to <ip>:<port>
> >
> > I also tried to use --to-destination instead of --to, same error mess=
age.
> > All my other rules work perfect, only the DNAT ones get this error.
> > Does anyone have a possible solution?
>
> All nat table rules, or are SNAT and MASQ accepted?  Do you have a insm=
od
> or modprobe iptable_nat?  I don't know your prior/current setup, but it
> might have been compiled in before, a module now.
>
> j

SNAT doesn't work either, MASQ works. iptable_nat is loaded. The system I=
'm=20
running is a new SuSE 8.1 if that helps.

Steffen

- --=20
Quote of the minute:

printk("Illegal format on cdrom.  Pester manufacturer.\n");=20
=092.2.16 /usr/src/linux/fs/isofs/inode.c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9zXHcByWeP+lxCPMRAhc/AKCGP5TvNZg6MWpaHxhEm8v4XgCqIwCgk7rH
Ib5KwPR9klcbUfJcQxrfGKo=3D
=3DDbIC
-----END PGP SIGNATURE-----




[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