LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-10-2007, 01:28 AM   #1
cylarz
Member
 
Registered: Aug 2005
Location: California
Distribution: CentOS 5
Posts: 54

Rep: Reputation: 15
server setup


Hey guys,

Linux novice here. Running FC 7 from Redhat. I’ve been all over Google on this and haven’t found much of use since most of the matches on the subject seem to pertain to Windows servers. The router mfg’s website also has been useless.

Here’s the rundown. I’ve got a DSL connection with a static IP package. My ISP has provided me with my external IP address, S/N mask, gateway, and DNS addresses to use.

If I put all that information into my router, and connect my Windows box via DHCP to the router, everything works great.

If I bypass the router and connect my modem directly to the server, and put the static IP information into its network settings, everything works great there, too.

The problem is when I try to combine the two. The server and the Windows client need to be able to share the DSL connection. Question is, how?

Do I connect both the client and the server to the router, then set the server up in a DMZ/port forwarding scheme? Tried this and it didn’t seem to work – the server could ping the Windows client but not the Internet.

Or do I use 2 Ethernet cards in the server, secure it via a software firewall, and then put the router behind it (with the client attached to the router)? I’m not crazy about the second way since it means routing 100% of my Internet traffic in both directions through the server.

I’ve got a domain name I’m going to associate with this thing, but that comes later. Eventually I’m going to set this up to handle incoming HTTP requests, and I also want to run a mail server.

Right now though, I just want my connection sharing to work. This has got to be a very common problem for new amateur server admins. I’m sure some of you are doing this at home and that the setup is relatively simple – can anyone give me a few pointers? How did you do it when you set your server up?

Thanks, Matt
 
Old 10-10-2007, 01:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
port forwarding all the way, no questions asked... http://portforward.com for common port forwarding configs for many adsl routers.
 
  


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
Setup DNS server on Ubuntu 7.04 Server edition using Bind 9 breezey Linux - Server 2 09-16-2007 03:36 AM
Best info to setup a ftp server behind the proxy server. bruse Linux - Networking 1 12-14-2005 04:13 PM
setup mailserver/web server/ftp server hariiyer Linux - Networking 1 11-27-2004 01:16 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration