From: "Travis Crook" <travis@visionsbeyond.com>
To: Antony Stone <Antony@Soft-Solutions.co.uk>
Cc: netfilter@lists.netfilter.org
Subject: Re: Email troubles behind iptables firewall
Date: Tue, 17 Sep 2002 11:10:35 -0600 [thread overview]
Message-ID: <006c01c25e6d$230d0fe0$6902a8c0@visionsbeyond.mindtrip> (raw)
In-Reply-To: 200209121558.g8CFwXv10419@vulcan.rissington.net
> Is this correct? Is there any way to pass their real ip
> > address through the firewall to the mail server?
>
> Change the SNAT / MASQUERADE rule in your POSTROUTING chain so that it
only
> applies to the external interface.
>
> eg change:
>
> iptables -A POSTROUTING -t nat -j SNAT --to a.b.c.d
>
> to
>
> iptables -A POSTROUTING -t nat -o eth0 -j SNAT --to a.b.c.d
>
> where eth0 is your external interface.
>
> Antony.
Oh great ones of the iptables mastery! You have solved my problem!
I thank you ever so much.
Travis Crook
Visions Beyond
next prev parent reply other threads:[~2002-09-17 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-12 14:30 Email troubles behind iptables firewall Travis Crook
2002-09-12 15:43 ` Aldo S. Lagana
2002-09-12 15:58 ` Antony Stone
2002-09-17 17:10 ` Travis Crook [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-12 15:07 Travis Crook
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='006c01c25e6d$230d0fe0$6902a8c0@visionsbeyond.mindtrip' \
--to=travis@visionsbeyond.com \
--cc=Antony@Soft-Solutions.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox