Togan Muftuoglu пишет:
* Nick;
on 18 Dec, 2003 wrote: root@academy:~> iptables -t nat -A OUTPUT -p tcp --destination-port 80 -j DNAT --to-destination 192.168.0.1:3128 iptables: Invalid argument
does it fail again if you say /usr/sbin/iptables -t nat bla bla
Yes! Again.
With OUTPUT again. But with PREROUTING - work without errors. This error is for OUTPUT build-in only.
Can you try with --to-destination 127.0.0.1 to see if that works
PS. Please read the footer before hitting the reply key
root@academy:~> /usr/sbin/iptables -t nat -A OUTPUT -p tcp --destination-port 80 -j DNAT --to-destination 127.0.0.1:3128 iptables: Invalid argument root@academy:~> /usr/sbin/iptables -t nat -A OUTPUT -p tcp --destination-port 80 -j DNAT --to-destination 127.0.0.1 iptables: Invalid argument root@academy:~> So, it is in SuSE9.0 only (but i've not tested with prev. versions of suse). I've tryed it with RedHat9.0 - fine. And yet, this rule was generated automaticaly by fwbuilder, and good work with other my nonsuse computers. :-) nick Rem: No Microsoft products were used in the production of this message.