All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables tutorial on DNAT
@ 2003-07-31  8:54 cc
  2003-07-31  9:44 ` George Vieira
  0 siblings, 1 reply; 2+ messages in thread
From: cc @ 2003-07-31  8:54 UTC (permalink / raw)
  To: Netfilter Group

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

Hi,

I was reading the DNAT part of the IPTABLES tutorial
and have encountered quite confusing.

In section 6.5.2, near the end it writes:

iptables -t nat -A OUTPUT --dst $INET_IP -p tcp --dport 80 \
    -j DNAT --to-destination $HTTP_IP

Is this a mistake?  I used the above line (with
some modifications to suit my setup) and I get an
invalid agrument.

Also, I noticed that the DNAT rules doesn't
include the -i eth? argument.  Is it necessary?

Any clarifications appreciated.

Edmund


** All information contained in this email is strictly     **
** confidential and may be used by the intended receipient **
** only.                                                   **


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-31  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-31  8:54 iptables tutorial on DNAT cc
2003-07-31  9:44 ` George Vieira

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.