LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Configure NAT (https://www.linuxquestions.org/questions/linux-general-1/configure-nat-845990/)

ajkannan83 11-23-2010 05:17 AM

Configure NAT
 
Dear Sir,
I am using RHEL 5 server. all the clients are loaded in windows xp.

In RHEL5 ---> Eth 0 : Puplic IP, Eth 1 : Private (Local) IP

I have configure NAT

iptables - t nat -A POSTROUTING -o eth0 -j SNAT --to "public ip".

echo 1 > /proc/sys/net/ipv4/ip_forward.

Then I set the client pc gateway and dns is linux server ip(eht1).

Its working fine.
-----------------------------------------------------------------------
In another lab

We are using Windowxp machine as a internet server.

In Win XP ---> Eth 0 : Puplic IP, Eth 1 : Private (Local) IP

How to configure nat.

How to browse the client with out proxy.

Please help

acid_kewpie 11-23-2010 05:38 AM

You're asking how to do NAT routing on an XP Machine? This is nothing at all to do with Linux, right? Is that ICS? I used to use about a decade ago, maybe you want somethign like that if it still exists.

Note that you shouldn't use SNAT a.b.c.d on that redhat example but MASQUERADE as it's the interface address itself you're natting to, not another arbitrary address.

ajkannan83 11-23-2010 10:17 PM

Sir,

Thanks for your reply. It is possible to configure nat in xp machine

acid_kewpie 11-24-2010 04:56 AM

Quote:

Originally Posted by ajkannan83 (Post 4168967)
Sir,

Thanks for your reply. It is possible to configure nat in xp machine

yes, it is.

ajkannan83 11-24-2010 09:57 PM

How to possible sir. Please explain

acid_kewpie 11-25-2010 02:49 AM

On a Linux help forum? As above, I *think* it's ICS you'd need. I'm sure google has much more more information about this, and can be found much quicker...

linuxlover.chaitanya 11-25-2010 05:27 AM

Short and sweet: http://tinyurl.com/3xx2nu9


All times are GMT -5. The time now is 05:18 PM.