Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

How do I run my own server?

Thread Tools
 
Search this Thread
 
Old Dec 13, 2006 | 04:51 PM
  #1  
Welloilbeefhooked's Avatar
Welloilbeefhooked
Thread Starter
Scooby Regular
iTrader: (3)
 
Joined: Sep 2003
Posts: 3,577
Likes: 0
From: Sheffield
Default How do I run my own server?

I have broadband, a router and a switch at the moment but was wondering how I would allow a connection directly to a server (read this as a capable PC) through my braodband connection?

Do I have to have the PC itself receiving the connection via an internal modem of some description?

Cheers for any help.

Wayne.
Reply
Old Dec 13, 2006 | 05:07 PM
  #2  
cottonfoo's Avatar
cottonfoo
Scooby Regular
 
Joined: Jan 2001
Posts: 469
Likes: 0
From: still behind twin turbos
Default

Your router will just need to forward everything to an IP address on the inside, perhaps on a port-by-port basis. This is called NAT, destination NAT to be exact.
Reply
Old Dec 13, 2006 | 05:33 PM
  #3  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Default

Originally Posted by cottonfoo
Your router will just need to forward everything to an IP address on the inside, perhaps on a port-by-port basis. This is called NAT, destination NAT to be exact.
What about using PAT?


Anyway what kind of server do you want to run?

If a web box then you need to open up port 80 and point it at a web server that has been hardened.. and I dont mean Personal Web server on windows xp..

You can also use a dynamic dns provider to deal with resolving your domain name to your non static ip address.

David
Reply
Old Dec 13, 2006 | 05:38 PM
  #4  
cottonfoo's Avatar
cottonfoo
Scooby Regular
 
Joined: Jan 2001
Posts: 469
Likes: 0
From: still behind twin turbos
Default

PAT is DNAT but with more than one host on the inside.
Reply
Old Dec 13, 2006 | 05:40 PM
  #5  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Default

Thought it was probably similar, but did expect to get shot down in flames by yourself!! Suppose I should stick to windows
Reply
Old Dec 13, 2006 | 05:43 PM
  #6  
cottonfoo's Avatar
cottonfoo
Scooby Regular
 
Joined: Jan 2001
Posts: 469
Likes: 0
From: still behind twin turbos
Default

Aww, I never flame

There are lots of terms for what is essentially exactly the same thing;

NAT, SNAT, DNAT, IP masquerading, PAT, even "Internet Connection Sharing", all use the same principle of rewriting source/destination IP addresses.
Reply
Old Dec 13, 2006 | 06:24 PM
  #7  
Welloilbeefhooked's Avatar
Welloilbeefhooked
Thread Starter
Scooby Regular
iTrader: (3)
 
Joined: Sep 2003
Posts: 3,577
Likes: 0
From: Sheffield
Default

Do you 2 want to get a room? Lol

I want to be able to access this server as a file server only. Its simply to share files with family and friends. I want them to be able to log in via a username and password and simply download from my server.

So do I need a dedicated IP address just for the server? I have one IP address at the moment but have another 7 free to use.

Also what OS is the best to use to do this?
Reply
Old Dec 13, 2006 | 07:26 PM
  #8  
stevem2k's Avatar
stevem2k
Scooby Regular
 
Joined: Sep 2001
Posts: 4,670
Likes: 0
From: Kingston ( Surrey, not Jamaica )
Default

you want a chrooted ftp server.

just need to port forward 20/21 to the inside box, preferably firewalling the source addresses in, and dropping any other attempts.


One of the linux flavours would be ideal for something like this , on a scrap/obsolete machine

Last edited by stevem2k; Dec 13, 2006 at 07:29 PM.
Reply
Old Dec 13, 2006 | 09:39 PM
  #9  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Default

whats chroot? without googling
Reply
Old Dec 14, 2006 | 09:12 AM
  #10  
BlkKnight's Avatar
BlkKnight
Scooby Regular
 
Joined: Feb 2004
Posts: 3,763
Likes: 0
From: High Wycombe
Default

You really DO NOT want to use M$ FTP as it's a right ******* to setup if both parties are behind a firewall.

Fedora Project, sponsored by Red Hat

You should have fun playing with this.
Reply
Old Dec 14, 2006 | 11:27 AM
  #11  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Default

You really DO NOT want to use M$ FTP as it's a right ******* to setup if both parties are behind a firewall.
Really??

Why's that? I've never had a problem.

David
Reply
Old Dec 14, 2006 | 11:37 AM
  #12  
BlkKnight's Avatar
BlkKnight
Scooby Regular
 
Joined: Feb 2004
Posts: 3,763
Likes: 0
From: High Wycombe
Default

unless something has changed recently, doesn't MS firewall require port 21 & lots of ports in a massive range to be open if the clients are connecting in passive mode?
Reply
Old Dec 14, 2006 | 11:42 AM
  #13  
BlkKnight's Avatar
BlkKnight
Scooby Regular
 
Joined: Feb 2004
Posts: 3,763
Likes: 0
From: High Wycombe
Default

and a quick google yealds fix
Configuring Windows 2003 Firewall and IIS 6 for pasv ftp port range. « Clint Modien - Esria Inc.

and
How the FTP protocol Challenges Firewall Security
Reply
Old Dec 14, 2006 | 12:26 PM
  #14  
cottonfoo's Avatar
cottonfoo
Scooby Regular
 
Joined: Jan 2001
Posts: 469
Likes: 0
From: still behind twin turbos
Default

FTP is a horrible protocol, if you just want people to be able to download stuff you're better off with a webserver instead, only need FTP if you want people to be able to upload as well.
Reply
Old Dec 15, 2006 | 01:26 AM
  #15  
Welloilbeefhooked's Avatar
Welloilbeefhooked
Thread Starter
Scooby Regular
iTrader: (3)
 
Joined: Sep 2003
Posts: 3,577
Likes: 0
From: Sheffield
Default

If thats the case, then a webserver looks about right.

So where do I start?

Can someone tell me how the hardware is connected and then what software I need to be running?

Any good books on this?
Reply
Old Dec 15, 2006 | 09:07 AM
  #16  
BlkKnight's Avatar
BlkKnight
Scooby Regular
 
Joined: Feb 2004
Posts: 3,763
Likes: 0
From: High Wycombe
Default

Depends how adventures you are.

I recommend you do this on another PC rather than your own - which ever way you choose to do it.

M$ route: - Get hold of Win 2000 proff or WinXP proff and install IIS

*nix route - download Fedora (link above) install, set up web server (it's not that hard honest).

- connect it to your router (or if you use a USB modem, buy a cheap hub to connect your PC's. set up the networking & port forward TCP port 80 to your web-server.


Honestly, for the sake of sharing a few files, why don't you just pay and let someone else host them for you. It'll cost you £20 per year + domain tops.

I resommend:

UK budget hosting - low cost uk web hosting with excellent support

1&1 Internet Ltd.
Reply
Old Dec 15, 2006 | 10:37 AM
  #17  
Welloilbeefhooked's Avatar
Welloilbeefhooked
Thread Starter
Scooby Regular
iTrader: (3)
 
Joined: Sep 2003
Posts: 3,577
Likes: 0
From: Sheffield
Default

Ok, the PC is running win2k Pro, but not server. Whats IIS?

So after I setup my port forwarding how will other people access it? by IP address?

If so then do I need a staic IP just for this server?
Reply
Old Dec 15, 2006 | 11:27 AM
  #18  
BlkKnight's Avatar
BlkKnight
Scooby Regular
 
Joined: Feb 2004
Posts: 3,763
Likes: 0
From: High Wycombe
Default

DIYwebserver - build and run your own webserver from home dsl broadband connection using windows, apache, IIS, FTP, email server and more
Reply
Old Dec 15, 2006 | 12:07 PM
  #19  
RichB's Avatar
RichB
Scooby Regular
 
Joined: Apr 1999
Posts: 3,666
Likes: 0
From: Bore Knee Muff
Default

Not wanting be funny wayne, but if you don't have any knowledge of this stuff then Bill is right, get some cheap hosting somewhere and don't have any of this hassle.

If you are doing this to try and learn about it then fair play to you, IIS is the webserver that is shipped with XP Pro. Setting up FTP users etc is IMHO not that intuative and for someone with little experience could take a while and will be frustrating. (Obviously all the experts on here will disagree and say how easy it is but you may find things that simply don't work how you think they should! - This coming from a programmer of 15+ years (not age) but a Mac user...)
Reply
Old Dec 15, 2006 | 01:36 PM
  #20  
Iain Young's Avatar
Iain Young
Scooby Regular
 
Joined: Sep 1999
Posts: 6,956
Likes: 0
From: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Default

Doesn't IIS running on XP Pro or W2k have limitations, (I have a vague recollection that it limits the number of concurrent connections to 5). I think if you want the full capabilities you have to run a server os.

If you know how to use windows properly then setting up IIS / ftp accounts is in theory very straightforward (it's all done through the administrative tools), but it can be a nightmare to sort out if it doesn't work properly. I'd be tempted to use a hosting service as well. It's also likely to be cheaper (when you factor in the electricity costs of keeping a pc running in the house 24/7).
Reply
Old Dec 15, 2006 | 02:56 PM
  #21  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Default

if your nut running w2k server then yeah its limited, however why would anyone install windows 2000 in this day and age..

Start with 2k3, if dedicated ftp server you could use web edition, but std edition will suffice if hardened.

As for passive Ftp, passive ftp on any platform requires a port range to be open afaik.

Anyway dont use passive, problem solved.

David
Reply
Old Dec 15, 2006 | 09:52 PM
  #22  
Welloilbeefhooked's Avatar
Welloilbeefhooked
Thread Starter
Scooby Regular
iTrader: (3)
 
Joined: Sep 2003
Posts: 3,577
Likes: 0
From: Sheffield
Default

This is spot on mate. Thanks for the link.

I appreciate the concerns over me staring this, but I'm loving the challenge and its only for something to do until summer.
Reply
Old Dec 16, 2006 | 10:00 PM
  #23  
wacky.banana's Avatar
wacky.banana
Scooby Regular
 
Joined: May 2002
Posts: 1,379
Likes: 1
Default

Well Oiled,

Keep us informed as to how you are getting on. I too want to do this for the challenge and learning.

Intend to start over the Xmas break when I can put aside some time to get my head round this. Got an old PC that will come in handy with a Linux install, methinks.

WB
Reply
Old Dec 17, 2006 | 12:52 AM
  #24  
Welloilbeefhooked's Avatar
Welloilbeefhooked
Thread Starter
Scooby Regular
iTrader: (3)
 
Joined: Sep 2003
Posts: 3,577
Likes: 0
From: Sheffield
Default

Will do mate!
Reply
Old Dec 19, 2006 | 01:25 AM
  #26  
Welloilbeefhooked's Avatar
Welloilbeefhooked
Thread Starter
Scooby Regular
iTrader: (3)
 
Joined: Sep 2003
Posts: 3,577
Likes: 0
From: Sheffield
Default

Not too bothered about the speed. Its just makes it easy for 3 of us to share our stuff and store everything on my 1TB SAN.

Anyway, done it!!

How easy? My word!. Add IIS to Win2k Pro, setup the ftp and configure the settings (childs play), configure port forwarding on my firewall/router with 3 individual custom services (so as to lock down to a single IP address) and then setup 3 user accounts for access to the FTP server.

It couldnt be made any easier.

Thanks for the help guys!!

Oh, and I have to admit to spending an entire shift reading microsoft books at work on Sunday!!

Last edited by Welloilbeefhooked; Dec 19, 2006 at 01:29 AM.
Reply
Old Dec 19, 2006 | 02:15 AM
  #27  
wacky.banana's Avatar
wacky.banana
Scooby Regular
 
Joined: May 2002
Posts: 1,379
Likes: 1
Default

Well done mate. Like i said, very interested in this for the learning. Will start next week when I'm on my hols.

Incidentally what make/configuration of NAS are you using?

Cheers

WB
Reply
Old Dec 19, 2006 | 11:10 AM
  #28  
Welloilbeefhooked's Avatar
Welloilbeefhooked
Thread Starter
Scooby Regular
iTrader: (3)
 
Joined: Sep 2003
Posts: 3,577
Likes: 0
From: Sheffield
Default

Ive got one of those SC101 netgear units. Probably not the best, but cheap.
Reply
Old Dec 20, 2006 | 09:16 AM
  #29  
wacky.banana's Avatar
wacky.banana
Scooby Regular
 
Joined: May 2002
Posts: 1,379
Likes: 1
Default

Ah, ok. I was wanting one of these but the news from various forums wasn't good so I stepped aside. Great pity as I think the concept is a good one and is just what I need.

Got a fair few hard drives lying around that could have been knocked back into play. I'm still on the hunt for something suitable (job for a server then?)

Back on topic, I will be setting up my server next week using Ubuntu. Will keep you in the loop.

Cheers

WB
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
Billet
ScoobyNet General
42
Oct 14, 2015 10:38 PM
FuZzBoM
Wheels, Tyres & Brakes
16
Oct 4, 2015 09:49 PM
yabbadoo4
ScoobyNet General
11
Sep 30, 2015 10:33 PM




All times are GMT +1. The time now is 08:56 AM.