SNAT rule
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