[CentOS] Can't get forwarding to work

Neil Aggarwal neil at JAMMConsulting.com
Mon Oct 5 02:18:02 UTC 2009


This is interesting:

When I go to lynx http://a.b.c.d on the linux machine,
I get the CentOS test page.

This looks like the connection is not forwarding, it
is just going to the local machine.

Any ideas?

Thanks,
	Neil

--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system. 

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Neil Aggarwal
> Sent: Sunday, October 04, 2009 8:15 PM
> To: 'CentOS mailing list'
> Subject: Re: [CentOS] Can't get forwarding to work
> 
> Hello:
> 
> I changed my rules to these:
> 
> /sbin/iptables -t nat -A PREROUTING -d $WIN_EXTERNAL_IP -j DNAT --to
> $WIN_INTERNAL_IP
> /sbin/iptables -t nat -A POSTROUTING -s $WIN_INTERNAL_IP -j SNAT --to
> $WIN_EXTERNAL_IP
> 
> And I am still not seeing anything log on the firewall log
> and the connection is not working.
> 
> Any ideas?
> 
> Thanks,
> 	Neil
> 
> 
> --
> Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
> Will your e-commerce site go offline if you have
> a DB server failure, fiber cut, flood, fire, or other disaster?
> If so, ask about our geographically redundant database system. 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list