LinuxQuestions.org
Visit Jeremy's Blog.
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, 02: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, 02:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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 04:36 AM
Best info to setup a ftp server behind the proxy server. bruse Linux - Networking 1 12-14-2005 05:13 PM
setup mailserver/web server/ftp server hariiyer Linux - Networking 1 11-27-2004 02:16 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 04:09 AM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 09:35 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration