LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-24-2004, 06:40 AM   #1
VorlonInfoTech
Member
 
Registered: Jun 2003
Location: West Grove, PA
Distribution: Gentoo, Debian, SuSE, Mandrake
Posts: 55

Rep: Reputation: 15
Web Server on Cable Modem


I'm looking for advice on how to set up DNS, web, and eMail servers on a cable modem.

I recently moved, losing my DSL line with static IPs that I had used to run a low-level web hosting company (actually an elaborate hobby). I had run my own DNS, mail, and web servers. The only high speed option in my new home is Comcast cable, where I can choose either the $45 "home" version (with terms of service that prohibit me from running servers) or the $90 "business" account (which would let me do whatever the heck I want). On the business account, I can pay an additional $30 for a single static IP.

Being a cheap b*stard (and having a wife!) I want to go as cheaply as possible.


Here is my plan so far:

Since the dynamic IP address is "persistent", I figure I can get by without the static IP. I'll just have to change the master DNS entry in Register.com's servers whenever the IP changes. My servers may be effectively offline for 24 hours or so whenever the IP changes, but as long as this doesn't happen more than once every month or so, I'm OK. I'll put the router on a UPS and ping the network to keep the connection alive, thus maintaining my IP as long as possible.

If comcast doesn't filter/block port numbers, I'll just ignore their terms of service and run the servers anyway. My traffic volume is low enough that nobody at comcast will notice the bandwidth.

If comcast does filter/block port numbers, I'm stuck with the $90 business account.


My questions for the group:

1. Is a "persistent" IP good enough? How often to cable companies actually reassign dynamic IPs?
2. Do cable companies (comcast in particular) filter/block critical ports such as those used by DNS, eMail, and web servers?


TIA! Please reply here as my eMail address is down since my servers are offline
 
Old 08-24-2004, 06:58 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
You can use a dynamic IP address service like dyndns.com or noip.com. They have clients that run your computer that will update their DNS with your IP address.
 
Old 08-24-2004, 07:42 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I use a Comcast home account and have a box running as a web, ftp and ssh server. So far I've had no problems with blocked ports. The IP address has also been remarkably stable. It does change from time to time, but I bet it is easily 2-3 months between IP address changes and even then it seems to be precipitated by a larger event such as a power outage or me taking down my router for a bit.
 
Old 08-24-2004, 10:43 AM   #4
jymbo
Member
 
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
Comcast user here as well. No problems with blocked service ports, but I think it's only a matter of time before they start policing their network. Therefore, I run apache on a highport and simply use no-ip.com webredirect feature so that http://mydomain.no-ip.com redirects to http://mydomian.no-ip.com:8000.
 
Old 08-24-2004, 01:49 PM   #5
linuxpyro
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 16
I've run multiple servers off of my Adelphia cable modem for a while now. They blocked port 80, but I simply set up a redirect using Zoneedit. I have no problems with ports 25 and 110 (SMTP and POP).

There is something you should be warned about, though. Cable modems essentially are set up to be on one big LAN. In other words, the cable system basically acts as a different network medium (as opposed to typical Ethernet cable) that travels farther. You encounter some problems here with running a server.

This is the way things are where I am with Adelphia, Comcast might be different, I'm not sure. But essentially the way things are set up (a friend used to work at Adelphia), you're bassically sharing something a little faster than a T-1 with a whole bunch of other people. While you get very good download speeds, the upload speed tends not to be very good. It can also degrade as more people use their connections. In addition, if too many people upload files at the same time, it can cause serious network traffic, and clog things up temporarily. That's why a lot of the time cable companies are reluctant to let you run a server from their connection.

If possible I would advise going for the business account; that way you can probably avoid low upload speeds. If you were simply using this server for a personal site, though, you could get away with the regular account. How much traffic do you expect, and what's your content like?

As for the IP address, it should stay as long as you don't reboot your modem.
 
Old 09-24-2004, 08:38 PM   #6
VorlonInfoTech
Member
 
Registered: Jun 2003
Location: West Grove, PA
Distribution: Gentoo, Debian, SuSE, Mandrake
Posts: 55

Original Poster
Rep: Reputation: 15
Web Server on Cable Modem - Solved!

Well, I'm on comcast and everything works just fine. No ports are blocked. Speeds are better than I was getting with upgraded business DSL. Things are both "hunky" and also "dorry".


My IP has been stable for a few weeks. I put a cheap UPS on the cable modem, so it should stay up even if the power fails for hours (which is pretty rare) and hold my IP lease.
 
Old 09-25-2004, 01:49 AM   #7
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
// begin I love comast rant

I love comcast.

Ive been on the network for about 2 years, and in that time my ip has changed twice. one of thoes two times was when i replaced my router. w00t! If I wasnt lasy, a mac address clone would have probally kept my ip for me :P



no ports blocked, and its fast. uptime is i would say 99% or better.

no-ip.com is a great service, and i have used it, but as often as my ip changes, Its wasnt worth the effort to install it last time i did a format.



When i signed up for this service, it was 1.5 down and 128 up. They sent me an email a year later saying "by the way, we are doubling your upload speed for free" which made me VERY happy (i run a small game server somtimes), and a few months later saying "hey, we are going to double everybodys download speed too.

Needless to say, comming from verizon dsl (which sucked ass btw) im going to be a comcast customer for a long time if they keep their policies as they are

// end i love comcast rant



//being other usefull info

as far as a setup, just foward the ports from your router to your linux box. It would be a good idea to give the linux box a internal static ip, but as long as you dont reboot the ip wont change anyway.

the apache server should be easy enough to set up, just edit /etc/apache/httpd.conf and do a apachectl start.

Ive never done mail servers


ssh is easy too, just install it, and edit its config file to dissallow root login and change the protocols line from (2,1) to (2) (security tweaks)

// End all usefull info


Have fun, and enjoy your new line


//comment to jeremy
Oh and jeremy, i keep trying to post by hittign ctrl-s ctrl-c. you really should make some kind of hack to make that work on the forum so I can feel l33t instead of retarded

Last edited by Kahless; 09-25-2004 at 01:55 AM.
 
Old 09-25-2004, 10:17 PM   #8
linuxpyro
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 16
Quote:
Originally posted by Kahless
[B]// begin I love comast rant

I love comcast.

Ive been on the network for about 2 years, and in that time my ip has changed twice. one of thoes two times was when i replaced my router. w00t! If I wasnt lasy, a mac address clone would have probally kept my ip for me :P



no ports blocked, and its fast. uptime is i would say 99% or better.

no-ip.com is a great service, and i have used it, but as often as my ip changes, Its wasnt worth the effort to install it last time i did a format.



When i signed up for this service, it was 1.5 down and 128 up. They sent me an email a year later saying "by the way, we are doubling your upload speed for free" which made me VERY happy (i run a small game server somtimes), and a few months later saying "hey, we are going to double everybodys download speed too.

Needless to say, comming from verizon dsl (which sucked ass btw) im going to be a comcast customer for a long time if they keep their policies as they are

// end i love comcast rant
So Comcast has no problems with you running a server? That's nice. Adelphia hasn't done anything about my servers aside from blocking the ports. Still I'd love to have a nice fast symmetrical DSL line...
 
Old 09-29-2004, 06:40 PM   #9
VorlonInfoTech
Member
 
Registered: Jun 2003
Location: West Grove, PA
Distribution: Gentoo, Debian, SuSE, Mandrake
Posts: 55

Original Poster
Rep: Reputation: 15
Well, after a few weeks more, I find that some of my out-bound mail is being filtered (by aol). I presume it is because my mail server is on one of those spam-infested IP's used by cable companies. <sigh>


Anybody know of a good public secure relay service?
 
Old 09-29-2004, 07:33 PM   #10
netindustries
LQ Newbie
 
Registered: Mar 2004
Location: Indianapolis
Distribution: Slackware 9.1
Posts: 25

Rep: Reputation: 15
oops

Last edited by netindustries; 09-29-2004 at 07:34 PM.
 
Old 09-29-2004, 07:33 PM   #11
netindustries
LQ Newbie
 
Registered: Mar 2004
Location: Indianapolis
Distribution: Slackware 9.1
Posts: 25

Rep: Reputation: 15
Ooh! How do you clone a MAC? I have an extra cable modem rotting in a box...
 
Old 09-29-2004, 10:03 PM   #12
linuxpyro
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 16
Quote:
Originally posted by VorlonInfoTech
Well, after a few weeks more, I find that some of my out-bound mail is being filtered (by aol). I presume it is because my mail server is on one of those spam-infested IP's used by cable companies. <sigh>


Anybody know of a good public secure relay service?
I've had this problem myself. Depending on your provider you may be able to bounce all your outgoing mail off your ISP's server, though that might be blacklisted also. It's worth a shot, though. Check out this thread.

Good luck!
 
Old 10-05-2004, 09:19 PM   #13
VorlonInfoTech
Member
 
Registered: Jun 2003
Location: West Grove, PA
Distribution: Gentoo, Debian, SuSE, Mandrake
Posts: 55

Original Poster
Rep: Reputation: 15
Relaying through comcast's mail server worked just fine. Thanks for the suggestion!
 
  


Reply



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
Only 1 cable modem will work with my server?! WorldBuilder Linux - Networking 16 08-31-2005 05:38 PM
Static IP and Web Server from cable Broadband cool_hussu Linux - Networking 2 04-16-2005 09:13 PM
Cable modem/server/IP address trick TheFishingGeek Linux - Networking 6 06-26-2003 08:49 AM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 01:53 PM
dhcp3-client won't negotiate with windows dhcp server through cable modem frankster2000 Linux - Networking 0 06-25-2002 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:15 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
Open Source Consulting | Domain Registration