All of lore.kernel.org
 help / color / mirror / Atom feed
From: "William L. Childers" <childew@cox.net>
To: netfilter@lists.netfilter.org
Subject: SNAT rule
Date: 22 Oct 2002 07:36:50 -0500	[thread overview]
Message-ID: <1035290210.2921.4.camel@develop.wlc.net> (raw)

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

All,

	Now that I have made myself look like a fool, by sending the wrong
rules.  Please excuse my other email.  

        I have a network with 4 computers behind the firewall.  Three of
these
are workstations.  The firewall works fine for these.  Here is the fun
part.  

One of the computers is a server with the Windows 2000 Operating System
installed.  It is running IIS, and a mail server.  The SMTP portion of
IIS is configured to send email out on port 1125.  I have DNAT working
for the WEB server and SMTP.  There is, however, an issue with one of
the applications that is running on the web server.  It will not send
email out on port 1125.  The rule that I am trying to get to work is:

## Outgoing from IIS Web Server
$IPTABLES -t nat -A POSTROUTING -p tcp -o $EXTERNALIF -j SNAT --to
$MYADDR:1125


$INTERNALIF is the Private Interface
$MYADDR is the Public IP Address

192.168.0.4 is the Private IP of the IIS Server 

Thank you in advance for any assistance that you may be able to provide.

Bill



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

                 reply	other threads:[~2002-10-22 12:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1035290210.2921.4.camel@develop.wlc.net \
    --to=childew@cox.net \
    --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.