Re: DNAT "--to" versus "--to-destination"

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


On Saturday 2012-02-11 01:35, Rodney Beede wrote:

>On the web I see examples like:
>
>iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT
>--to-destination 10.1.1.1:8080
>
>However in the documentation
>(http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-6.html#ss6.2)
>I see:
>
>iptables -t nat -A PREROUTING -i eth0 -j DNAT --to 5.6.7.8
>
>Why is this or what does the difference mean?

That whoever wrote the NAT-HOWTO had a system with a getopt(3)
function that supports unique abbreviations.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Netfilter Development]     [Linux Kernel Networking Development]     [Linux Networking Development]     [Linux Kernel Development]     [Linux Resources]     [LARTC]     [Bugtraq]     [Consulting]     [Free Internet Dating]     [Yosemite Forum]     [Photo]

Add to Google Powered by Linux