LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-05-2002, 10:20 AM   #1
lhoff
Member
 
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Rep: Reputation: 30
A simple language abstract, please, re: making my Linux network public


Hi! I'm a newbie at networking in general and at configuring Linux services in particular.

I have an SDSL connection from an ISP, where my router has a fixed address on the internet and the network on my side of the router is a subnet, with an address range 192.168.1.0 through 255. I think I grasp that. I'm having trouble with Email and DNS services, which may be due to my not fully understanding (a) some missed details about subnets that I should know and (b) some points about my router's IP address.

I have a Linux box, which I want to use as a web server and as an email server. I have managed to configure Postfix successfully, so that I can send email to user accounts on this box and also send messages out to internet addresses. But, I cannot reply back to my domain from an internet address.

I registered [mydomain.com] with Network Solutions and listed the world IP address of my router as the primary nameserver. I figured that was one step in the right direction toward making my domain "visible" for sending in email and for facilitating www browsing. Was that the correct thing to do? The more I think about it, I wonder: do I need DNS?

What I want is the following: any mail addressed to user@[mydomain.com] to get delivered to my Linux box, whereupon it gets delivered to users within that domain, subject to filtering I setup on this Linux box. Also, any calls for www.[mydomain.com] should find the www pages setup on this box. In order for those things to happen, should I be trying to setup DNS on my own?

If you haven't guessed by now, I'm completely lost and the HOWTO's aren't helping. I'd appreciate it if somebody could explain or point me to a good beginner's tutorial (that uses idiotic examples and illustrations ) on networking, subnets and public services.

It's been a month and I still don't get it! I'm normally a pretty quick study...
 
Old 02-05-2002, 11:45 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
I'd suggest you use Network Solutions DNS servers. They probably have a somewhat configurable setup.

I am registered through Regiser.com and I use their nameservers. Their configuration lets me modify my IP (A Record), Domain Alias (C Record), and mail exchange (MX). I'm sure NS offers a similar configuration.

You can setup your IP like:
*.mydomain.com ipaddress ( not needed if using alias )
mydomain.com ipaddress

and/or

www.mydomain.com ipaddress
ftp.mydomain.com ipaddress

Since you only have one Internet IP address you will have to use Apache's Virtual hosts feature if you want multiple names to access the same webserver:
www.mydomain.com
test.mydomain.com
ww2.hellodude.com (register a second name)

I also have my own email server that works fine.
dude@mydomain.com

I'd advise against running your own DNS server. You really need a backup as well, requiring a second IP address.

Make sure you setup a firewall!

Hope this helps
 
Old 02-06-2002, 07:38 PM   #3
lhoff
Member
 
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by crabboy
Make sure you setup a firewall!

Hope this helps
Thanks! I'm making progress, though I couldn't begin to explain it if you asked me!

How do I identify my firewall or tell if it is running? I have configured the Bastille-firewall.cfg file, but I can't tell if the firewall is actually running.

Thanks!
 
Old 02-07-2002, 09:52 AM   #4
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
You can view your rules with:
Code:
iptables -L
But to really test test it I'd suggest beating on it from the internet.
 
  


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
Making a website public IanThePetRock Linux - General 33 08-01-2005 02:41 PM
Making Webalizer Stats Public PensJunkie Linux - Software 2 06-07-2005 10:40 AM
Making a public samba share joncolby Linux - Software 0 06-24-2004 01:02 PM
Making zip drive public phatboyz Linux - Hardware 3 03-02-2004 03:58 AM
Simple graphical linux programming language? Nerd2 Linux - Software 4 05-03-2003 07:12 AM


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

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