Re: Port forwarding doesn't work.

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

 



Gerd Zemella wrote, Monday, October 13, 2003 8:13 AM

[Please *don't* post HTML to the list]

> Hi Herman,
>
> Am Mon, den 13.10.2003 schrieb Herman um 00:04:
>
> > Well, here goes:
> > iptables -t nat -I PREROUTING  -d 192.168.10.100 -j DNAT --to
192.168.10.245
>
> did you wrote this --to? you must write --to-destination!

Nope. In context, --to is equivalent to --to-destination. There's absolutely
nothing wrong with using it in the manner above (in fact, every single DNAT
rule in our firewall script does -j DNAT --to).

Adam



[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