LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Natting In linux (https://www.linuxquestions.org/questions/linux-newbie-8/natting-in-linux-939874/)

puneetbrar 04-15-2012 03:31 AM

Natting In linux
 
Dear All

I am a Linux newbie and i have a server to be installed and also svn Now i have installed Centos 5.7,Lamp,webmin and also Svn now i have two lancards /ethernetcards on board and almost the system is working fine as it seems to me

I want to nat it as i have users accessing the server from inside my ips are 192.168.1.xxxas well as i have a live ip 202.101.134.xxx

So how can i nat it so that both the users can access it

Can somebody help with this

pan64 04-15-2012 04:46 AM

so you have 2 network cards, and it means you have two networks, inside (192.168.1.xxx) and let we say outside (202.101.134.xxx).
Which user has problem, what is unreachable from where? Why do you think nat will help you?

jschiwal 04-15-2012 04:48 AM

You don't need NAT. The 202.101.134.xxx interface will communicate with users on the Internet. The 192.168.1.xxx interface will communicate with users on your LAN. Make sure that the Webserver listens on both interfaces.

You will want to make sure you have your firewall configured properly so only the services you offer are unblocked. Also don't enable forwarding. You don't want to become the gateway between the LAN and Internet.


All times are GMT -5. The time now is 08:08 AM.