LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-28-2009, 07:47 AM   #1
vondie
LQ Newbie
 
Registered: Aug 2009
Posts: 15

Rep: Reputation: 0
Public and private NIC for web server


Hello,

I am very new to Linux as well as this forum. I have been very impressed so far how much great information and support there is here. I have been trying to find the answer to my question from previous posts, but as of yet, I have been unsuccessful and have conceded to post the question.

Some background. I am in the process of converting my companies current website to a new platform. The system we currently used is a closed Linux product call a OneGate 1000 made by a defunct company called Freegate. It is a great product in it's simplify, but I worry about the hardware. I also don't want the risk of migrating to a Windows IIS environment, I want the stability and security Linux provides.

After some reading and input from here, I have chosen to go with CenOS 5.3. I am looking to only host one website with basic capability at the start. I will need to run servlets at some point, but I need to walk before I run. Anyway, to my question. I am accustomed to having two NICS on a server that is exposed to the outside world. One on the public side and one on the private side of my network. I want to be able to do all the admin stuff on the private side and only expose HTTP and FTP to the public side. I have read several LAMP install guides, but they all only refer to a single NIC which always shows a private IP. All that said, I'm struggling to know how to conceptually configure the environment. Is this simply a firewall configuration issue or is there more to it?

I apologize ahead of time if I have not provided enough info or background.


Tim
 
Old 08-28-2009, 08:19 AM   #2
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 355

Rep: Reputation: 43
From the linux server standpoint, it's just a matter of assigning the appropriate addresses to the adapters. From the HTTP server standpoint, it's a matter of configuring it to bind to or "listen" to the public facing address. Further out from the physical server adapters, it becomes a network infrastructure concern. But since you say you are accustomed to the dual NIC scenario, you know that you just duplicate those connections on the new server using the old as examples.
 
Old 08-28-2009, 08:24 AM   #3
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Hi Tim,

Personally I wouldn't bother running a private/public nic setup, I prefer some redundancy so would configure them as an active/passive bond (depends on your network configuration). Access to the web server can be controlled via firewall rules rather than physical cabling,

eg. any -> webserver:80
any -> webserver:21
trustednet -> webserver:22


just my 2c

cheers
 
  


Reply


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
SSH with passwordless public/private key not working on another account on server infocom Linux - Server 14 12-27-2010 05:09 AM
DNS Server (bind9) works on the private network but not in the public one! wjleon Linux - Networking 26 01-24-2009 08:14 PM
PXE Server is giving the public IP instead of private IP vischa Linux - Server 5 12-02-2008 10:58 AM
1 public server, 1 private server with a Cisco ASA5505 inbetween, is this hard to do? abefroman Linux - Networking 12 04-10-2008 09:39 AM
Multiple NIC cards - public and private IPs harryinjapan Linux - Networking 2 12-02-2001 04:25 AM


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

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