On Saturday 09 November 2002 12:36 pm, Steffen Schoenwiese wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I have some problems with iptables 1.2.7a. Some of my rules which worke= d > 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 messag= e. > 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 insmod= or=20 modprobe iptable_nat? I don't know your prior/current setup, but it migh= t=20 have been compiled in before, a module now. j