From: Payal Rathod <payal-netfilter@scriptkitchen.com>
To: Netfilter ML <netfilter@lists.netfilter.org>
Subject: Re: firewall problem continued
Date: Mon, 9 Aug 2004 11:22:46 -0400 [thread overview]
Message-ID: <20040809152246.GB21508@tranquility.scriptkitchen.com> (raw)
In-Reply-To: <200408091231.33128.Antony@Soft-Solutions.co.uk>
On Mon, Aug 09, 2004 at 12:31:33PM +0100, Antony Stone wrote:
> Exactly the same as your extisting PREROUTING rule, but you put it in the
> OUTPUT chain instead (still in the nat table):
>
> iptables -A OUTPUT -t nat -d 1.2.3.4 -p tcp --dport 25 -j DNAT --to 10.10.10.2
I am at home sick. But I did it remotely and tested it. It works. Thanks a lot
Anthony and all who helped.
I thought -t nat was never used in output chain.
Thanks a lot again and I cannot wait to get back to work to test it throughly.
With warm regards,
-Payal
next prev parent reply other threads:[~2004-08-09 15:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-09 8:12 firewall problem continued Payal Rathod
2004-08-09 8:32 ` Antony Stone
2004-08-09 10:39 ` Payal Rathod
2004-08-09 10:55 ` Antony Stone
2004-08-09 11:19 ` Payal Rathod
2004-08-09 11:31 ` Antony Stone
2004-08-09 15:22 ` Payal Rathod [this message]
2004-08-10 8:14 ` Payal Rathod
2004-08-10 8:26 ` Antony Stone
2004-08-10 8:43 ` Payal Rathod
2004-08-10 9:14 ` Antony Stone
2004-08-10 11:46 ` Payal Rathod
2004-08-10 18:45 ` Antony Stone
2004-08-11 7:18 ` Payal Rathod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040809152246.GB21508@tranquility.scriptkitchen.com \
--to=payal-netfilter@scriptkitchen.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.