Nating to a Linux Box or Solaris Box

i having a Red Hat linux 7.2 box with 2 NIC. One with public IP and another with private IP. It is having iptables enabled and i am doing a nating from public NIC to internal servers.

So when i hit http://natbox.com:port1 able to get pages on internal server http://internalbox:port1. This is working fine only with NT boxes. when tried to forward the hit to any internal linux or solaris box, it is not working. Any constraints are there on linux and solaris box.
hithayathAsked:
Who is Participating?
 
pablouruguayConnect With a Mentor Commented:
put this

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A FORWARD -j ACCEPT -i eth0 -o eth0 -d 0/0
0
 
CleanupPingCommented:
hithayath:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.