- Subject: Re: DNAT "--to" versus "--to-destination"
- From: Jan Engelhardt <jengelh@xxxxxxxxxx>
- Date: Sat, 11 Feb 2012 02:43:50 +0100 (CET)
- Cc: netfilter@xxxxxxxxxxxxxxx
- In-reply-to: <CALTCyaS0UHTTAB1rU-NhBWu6cU6gg6O=Ok1=JV93r1Ej=g_a-A@mail.gmail.com>
- User-agent: Alpine 2.01 (LNX 1266 2009-07-14)
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]