Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Search this Thread
Old 04-15-2012, 04:31 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 9

Rep: Reputation: 0
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

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

Can somebody help with this
Old 04-15-2012, 05:46 AM   #2
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,346

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
so you have 2 network cards, and it means you have two networks, inside ( and let we say outside (
Which user has problem, what is unreachable from where? Why do you think nat will help you?
Old 04-15-2012, 05:48 AM   #3
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
You don't need NAT. The interface will communicate with users on the Internet. The 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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Natting on linux sunlinux Linux - Networking 1 07-04-2007 05:10 AM
natting twice zsoltrenyi Linux - Networking 9 01-26-2005 05:39 AM
natting in Linux suvajit Linux - General 2 05-15-2003 03:19 PM
Linux Natting / Routing suvajit Linux - Networking 1 05-15-2003 11:47 AM
Natting suvajit Linux - Software 1 05-15-2003 06:50 AM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration