[CentOS] iptables port forwarding

Thu May 19 13:18:54 UTC 2005
Johnny Hughes <mailing-lists at hughesjr.com>

On Thu, 2005-05-19 at 21:08 +0800, Mark Quitoriano wrote:
> i'm having a problem viewing logs on forwarded ports from the firewall
> to another server, i forwarded mail(port 25) from the firewall to an
> internal server. The problem is when i try to view the logs it just
> shows the firewall ip as the sender and not the original sender.
> 
> 
In reality, the firewall may be making the connection to the internal
server... and not the external machine.  Especially if the internal
server is on a 192.168.x.x or 10.x.x.x network and you are connecting
via NAT.  If that is the case, the external machine is connecting to the
firewall and the firewall is connecting to the internal server.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050519/fb088300/attachment-0005.sig>