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 13 December 2006, 04:51 PM
  #1  
Welloilbeefhooked
Scooby Regular
Thread Starter
iTrader: (3)
 
Welloilbeefhooked's Avatar
 
Join Date: Sep 2003
Location: Sheffield
Posts: 3,577
Received 0 Likes on 0 Posts
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.
Old 13 December 2006, 05:07 PM
  #2  
cottonfoo
Scooby Regular
 
cottonfoo's Avatar
 
Join Date: Jan 2001
Location: still behind twin turbos
Posts: 469
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 13 December 2006, 05:33 PM
  #3  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
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
Old 13 December 2006, 05:38 PM
  #4  
cottonfoo
Scooby Regular
 
cottonfoo's Avatar
 
Join Date: Jan 2001
Location: still behind twin turbos
Posts: 469
Likes: 0
Received 0 Likes on 0 Posts
Default

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

Thought it was probably similar, but did expect to get shot down in flames by yourself!! Suppose I should stick to windows
Old 13 December 2006, 05:43 PM
  #6  
cottonfoo
Scooby Regular
 
cottonfoo's Avatar
 
Join Date: Jan 2001
Location: still behind twin turbos
Posts: 469
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 13 December 2006, 06:24 PM
  #7  
Welloilbeefhooked
Scooby Regular
Thread Starter
iTrader: (3)
 
Welloilbeefhooked's Avatar
 
Join Date: Sep 2003
Location: Sheffield
Posts: 3,577
Received 0 Likes on 0 Posts
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?

Trending Topics

Old 13 December 2006, 07:26 PM
  #8  
stevem2k
Scooby Regular
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
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; 13 December 2006 at 07:29 PM.
Old 13 December 2006, 09:39 PM
  #9  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

whats chroot? without googling
Old 14 December 2006, 09:12 AM
  #10  
BlkKnight
Scooby Regular
 
BlkKnight's Avatar
 
Join Date: Feb 2004
Location: High Wycombe
Posts: 3,763
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 14 December 2006, 11:27 AM
  #11  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
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
Old 14 December 2006, 11:37 AM
  #12  
BlkKnight
Scooby Regular
 
BlkKnight's Avatar
 
Join Date: Feb 2004
Location: High Wycombe
Posts: 3,763
Likes: 0
Received 0 Likes on 0 Posts
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?
Old 14 December 2006, 11:42 AM
  #13  
BlkKnight
Scooby Regular
 
BlkKnight's Avatar
 
Join Date: Feb 2004
Location: High Wycombe
Posts: 3,763
Likes: 0
Received 0 Likes on 0 Posts
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
Old 14 December 2006, 12:26 PM
  #14  
cottonfoo
Scooby Regular
 
cottonfoo's Avatar
 
Join Date: Jan 2001
Location: still behind twin turbos
Posts: 469
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 15 December 2006, 01:26 AM
  #15  
Welloilbeefhooked
Scooby Regular
Thread Starter
iTrader: (3)
 
Welloilbeefhooked's Avatar
 
Join Date: Sep 2003
Location: Sheffield
Posts: 3,577
Received 0 Likes on 0 Posts
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?
Old 15 December 2006, 09:07 AM
  #16  
BlkKnight
Scooby Regular
 
BlkKnight's Avatar
 
Join Date: Feb 2004
Location: High Wycombe
Posts: 3,763
Likes: 0
Received 0 Likes on 0 Posts
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.
Old 15 December 2006, 10:37 AM
  #17  
Welloilbeefhooked
Scooby Regular
Thread Starter
iTrader: (3)
 
Welloilbeefhooked's Avatar
 
Join Date: Sep 2003
Location: Sheffield
Posts: 3,577
Received 0 Likes on 0 Posts
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?
Old 15 December 2006, 11:27 AM
  #18  
BlkKnight
Scooby Regular
 
BlkKnight's Avatar
 
Join Date: Feb 2004
Location: High Wycombe
Posts: 3,763
Likes: 0
Received 0 Likes on 0 Posts
Default

DIYwebserver - build and run your own webserver from home dsl broadband connection using windows, apache, IIS, FTP, email server and more
Old 15 December 2006, 12:07 PM
  #19  
RichB
Scooby Regular
 
RichB's Avatar
 
Join Date: Apr 1999
Location: Bore Knee Muff
Posts: 3,666
Likes: 0
Received 0 Likes on 0 Posts
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...)
Old 15 December 2006, 01:36 PM
  #20  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
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).
Old 15 December 2006, 02:56 PM
  #21  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
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
Old 15 December 2006, 09:52 PM
  #22  
Welloilbeefhooked
Scooby Regular
Thread Starter
iTrader: (3)
 
Welloilbeefhooked's Avatar
 
Join Date: Sep 2003
Location: Sheffield
Posts: 3,577
Received 0 Likes on 0 Posts
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.
Old 16 December 2006, 10:00 PM
  #23  
wacky.banana
Scooby Regular
 
wacky.banana's Avatar
 
Join Date: May 2002
Posts: 1,379
Likes: 0
Received 1 Like on 1 Post
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
Old 17 December 2006, 12:52 AM
  #24  
Welloilbeefhooked
Scooby Regular
Thread Starter
iTrader: (3)
 
Welloilbeefhooked's Avatar
 
Join Date: Sep 2003
Location: Sheffield
Posts: 3,577
Received 0 Likes on 0 Posts
Default

Will do mate!
Old 19 December 2006, 01:25 AM
  #26  
Welloilbeefhooked
Scooby Regular
Thread Starter
iTrader: (3)
 
Welloilbeefhooked's Avatar
 
Join Date: Sep 2003
Location: Sheffield
Posts: 3,577
Received 0 Likes on 0 Posts
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; 19 December 2006 at 01:29 AM.
Old 19 December 2006, 02:15 AM
  #27  
wacky.banana
Scooby Regular
 
wacky.banana's Avatar
 
Join Date: May 2002
Posts: 1,379
Likes: 0
Received 1 Like on 1 Post
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
Old 19 December 2006, 11:10 AM
  #28  
Welloilbeefhooked
Scooby Regular
Thread Starter
iTrader: (3)
 
Welloilbeefhooked's Avatar
 
Join Date: Sep 2003
Location: Sheffield
Posts: 3,577
Received 0 Likes on 0 Posts
Default

Ive got one of those SC101 netgear units. Probably not the best, but cheap.
Old 20 December 2006, 09:16 AM
  #29  
wacky.banana
Scooby Regular
 
wacky.banana's Avatar
 
Join Date: May 2002
Posts: 1,379
Likes: 0
Received 1 Like on 1 Post
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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Billet
ScoobyNet General
42
14 October 2015 10:38 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
yabbadoo4
ScoobyNet General
11
30 September 2015 10:33 PM



Quick Reply: How do I run my own server?



All times are GMT +1. The time now is 09:42 PM.