techPowerUp! Forums

Go Back   techPowerUp! Forums > Hardware > Networking & Security

Reply
 
Thread Tools
Old Jan 20, 2010, 06:06 PM   #1
angelkiller
1000 Posts
 
angelkiller's Avatar
 
Join Date: May 2008
Location: North Carolina
Posts: 1,228 (0.67/day)
Thanks: 446
Thanked 225 Times in 201 Posts

My Server Project

Ok. So I got bored in school, so I decided to do something fun. So I found and old P4 box nobody was using and I installed Ubuntu Server 9.10 on it.

Now that I have it up and running, I have some ideas for projects and some questions. My ultimate goal is just to learn about servers, administration, and networks. So here are some ideas and questions I have. I'm not sure if some of these are even possible.

Important notes: I don't have control over this network. AFAIK, no outgoing ports are blocked but all incoming ports are blocked. This machine has 2 ethernet ports. Nothing with torrents. They've already told me not to do that. ( I didn't do anything illegal, just got the Fedora CD)
  1. First a question. Apparently all wired computers are on a different subnet than wireless computers. Is there any way I can access the server if my laptop is on another subnet?
  2. Some kind of proxy. We have a web filter here at school. (Barracuda) I have no particular need to get around it, but it would be cool to do so. Is there some way for this machine to connect to another machine at my house and access the internet from there?
  3. Webserver. I know that I won't be able to access the server from outside of school, but what about a local webserver? Can I also get a domain name instead of just an IP? I've read that I need to use the school's DNS server or something like that. But could I run my own DNS server? (My understanding of how this would work is very poor)

I'm open to any other ideas. Just looking for something to do.
angelkiller is offline  
Reply With Quote
Old Jan 20, 2010, 06:47 PM   #2
DanTheBanjoman
Señor Moderator
 
DanTheBanjoman's Avatar
 
Join Date: May 2004
Location: Utrecht, Utrecht, The kingdom of the Netherlands
Posts: 8,498 (2.59/day)
Thanks: 41
Thanked 1,453 Times in 1,077 Posts
Send a message via ICQ to DanTheBanjoman Send a message via MSN to DanTheBanjoman

System Specs

Quote:
Originally Posted by angelkiller View Post

First a question. Apparently all wired computers are on a different subnet than wireless computers. Is there any way I can access the server if my laptop is on another subnet?
It's called routing. I would imagine that already being in place.

Quote:
Originally Posted by angelkiller View Post
Some kind of proxy. We have a web filter here at school. (Barracuda) I have no particular need to get around it, but it would be cool to do so. Is there some way for this machine to connect to another machine at my house and access the internet from there?
This is unrelated to that ubuntu machine, your machine at home has to be the proxy. Simple solutions like phproxy usually do the trick (surfing only). Personally I use a VPN.

Quote:
Originally Posted by angelkiller View Post
Webserver. I know that I won't be able to access the server from outside of school, but what about a local webserver? Can I also get a domain name instead of just an IP? I've read that I need to use the school's DNS server or something like that. But could I run my own DNS server? (My understanding of how this would work is very poor)
I'm open to any other ideas. Just looking for something to do.
Running your own DNS server is pointless unless you;'re willing to manually set your clients network configuraiton. Just edit your hosts file instead. As for a webserver, install apache or any other webserver you like.



Seeing your limited knowledge of what you're doing I would recommend sticking to Windows servers, far less of a hassle.
DanTheBanjoman is offline  
Reply With Quote
Old Jan 20, 2010, 06:53 PM   #3
newtekie1
Semi-Retired Folder
 
newtekie1's Avatar
 
Join Date: Nov 2005
Location: Indiana
Posts: 17,742 (6.49/day)
Thanks: 780
Thanked 5,114 Times in 3,705 Posts

System Specs

1.) Yes, you should be able to type in the IP address of the server directly and access it, even accross subnets. Though this is not always possible.

2.) Don't know.

3.) You can setup a local web server, and access it directly from the internal network via IP. However, setting up a domain name would likely not work easily. If you register the domain like a normal domain, then the server would have to be accessable via an external IP, which yours is not. You can just put an entry in the DNS that your school uses that would point to your server, but you would have to be able to change the DNS, which is sounds like you can't. You can put an entry into the hosts file that points to your server, but you will have to do that on every computer you want to use the domain with.
__________________

Rig1: System Specs.
Rig2: A8-5600K@4.4GHz / AsRock FM2A75 Pro4 / 8GB Corsair DDR3-1600 9-9-9-24 / HD7560D / Samsung DVD-Burner / 1.5TB WD Green + 3x3TB WD RED in RAID5
Rig3: Athlon X2 4200+ / M4A79 Deluxe / 4GB G.Skill Pi DDR2-800 4-4-4-12 / GT430 / Sony DVD-Burner / 500GB WD
Rig4: Phenom II x6 1605T @ 3.6GHz / Asus M5A99X Evo / 8GB PNY DDR3-1600 9-9-9 / GTX470 & GTX470 / Samsung DVD-Burner / 1.5TB Seagate
newtekie1 is offline  
Crunching for Team TPU More than 25k PPD
Reply With Quote
Old Jan 21, 2010, 12:38 AM   #4
angelkiller
1000 Posts
 
angelkiller's Avatar
 
Join Date: May 2008
Location: North Carolina
Posts: 1,228 (0.67/day)
Thanks: 446
Thanked 225 Times in 201 Posts

Thanks for the replies.
Quote:
Originally Posted by DanTheBanjoman View Post
It's called routing. I would imagine that already being in place.
Are you saying that this is how the computers are on different subnets? If so, I get that. Or are you saying that routing is something I need to do to access the other machine on a different subnet? If this is the case, please elaborate. Google returned results that were too broad.

Quote:
Originally Posted by DanTheBanjoman View Post
This is unrelated to that ubuntu machine, your machine at home has to be the proxy. Simple solutions like phproxy usually do the trick (surfing only). Personally I use a VPN.
Good point, I didn't think of this. Is there a specific way to go about doing this? I've heard of SSH tunnels, something called a SOCKS proxy, which I don't understand, and I've had the idea of running a VPN server before. (as you suggested. I'll also have a look at phproxy) Is one of those solutions better than the others? I'm looking for unrestricted access that isn't terribly slow. Oh, and I would prefer for this connection to be encrypted or at least not readable. Again, not because I'm trying to hide anything, just a proof of concept.

Another thing I've considered is my connection speed at home. I assume if I'm sending info from home to school, I'll be limited by my home upload speed. (~300 Kbps) I know my dad's office has a 1 Mbps upload speed, but it only has 1 Mbps down speed. (my house has 7Mbps down) I think it would be better to have a server at my dad's office.

Quote:
Originally Posted by DanTheBanjoman View Post
Running your own DNS server is pointless unless you;'re willing to manually set your clients network configuraiton. Just edit your hosts file instead. As for a webserver, install apache or any other webserver you like.
I think I got the webserver part figured out for most part. (Apache is up and running) Editing my hosts file will only allow me to use www.domain.com, correct? I take it that there's no easy way for everyone to use www.domain.com?

Quote:
Originally Posted by DanTheBanjoman View Post
Seeing your limited knowledge of what you're doing I would recommend sticking to Windows servers, far less of a hassle.
I have no money for Windows Server. I've used Ubuntu on my laptop for over a year, and I really enjoy working with Linux, so I thought I would start learning more advanced and useful things. Working in Windows is nowhere near as fun as working in Linux imho. You do everything from a nice gui in Windows, while in Linux you seem to be more in touch with the major parts that make the OS work. There may be a steep learning curve, but I'm game.

Quote:
Originally Posted by newtekie1 View Post
1.) Yes, you should be able to type in the IP address of the server directly and access it, even accross subnets. Though this is not always possible.
I don't think I was clear enough. I know that I should be able to access the webserver on a different subnet. However, I attempted to SSH into the box from a different subnet and couldn't connect. When I joined the same subnet as the box was on, the SSH connection worked. Did the 1st SSH connection fail because I was on a different subnet, or for some other reason? (maybe I got the address wrong, maybe something to do with the network)

Quote:
Originally Posted by newtekie1 View Post
3.) You can setup a local web server, and access it directly from the internal network via IP. However, setting up a domain name would likely not work easily. If you register the domain like a normal domain, then the server would have to be accessable via an external IP, which yours is not. You can just put an entry in the DNS that your school uses that would point to your server, but you would have to be able to change the DNS, which is sounds like you can't. You can put an entry into the hosts file that points to your server, but you will have to do that on every computer you want to use the domain with.
So I'm going to rule out having a local-only domain for this computer.


Thanks again for the replies, they were very helpful. Bear with me!
angelkiller is offline  
Reply With Quote
Old Jan 21, 2010, 12:49 AM   #5
newtekie1
Semi-Retired Folder
 
newtekie1's Avatar
 
Join Date: Nov 2005
Location: Indiana
Posts: 17,742 (6.49/day)
Thanks: 780
Thanked 5,114 Times in 3,705 Posts

System Specs

Probably something blocking the SSH, likely a firewall of some kind between the two subnets.
__________________

Rig1: System Specs.
Rig2: A8-5600K@4.4GHz / AsRock FM2A75 Pro4 / 8GB Corsair DDR3-1600 9-9-9-24 / HD7560D / Samsung DVD-Burner / 1.5TB WD Green + 3x3TB WD RED in RAID5
Rig3: Athlon X2 4200+ / M4A79 Deluxe / 4GB G.Skill Pi DDR2-800 4-4-4-12 / GT430 / Sony DVD-Burner / 500GB WD
Rig4: Phenom II x6 1605T @ 3.6GHz / Asus M5A99X Evo / 8GB PNY DDR3-1600 9-9-9 / GTX470 & GTX470 / Samsung DVD-Burner / 1.5TB Seagate
newtekie1 is offline  
Crunching for Team TPU More than 25k PPD
Reply With Quote
Old Jan 21, 2010, 12:54 AM   #6
Easy Rhino
Linux Advocate
 
Easy Rhino's Avatar
 
Join Date: Nov 2006
Posts: 10,218 (4.29/day)
Thanks: 1,206
Thanked 2,774 Times in 1,792 Posts

System Specs

Quote:
Originally Posted by DanTheBanjoman View Post


Seeing your limited knowledge of what you're doing I would recommend sticking to Windows servers, far less of a hassle.
he said the point of doing this was to learn...
Easy Rhino is offline  
Reply With Quote
Old Jan 21, 2010, 01:00 AM   #7
Easy Rhino
Linux Advocate
 
Easy Rhino's Avatar
 
Join Date: Nov 2006
Posts: 10,218 (4.29/day)
Thanks: 1,206
Thanked 2,774 Times in 1,792 Posts

System Specs

Quote:
Originally Posted by angelkiller View Post
  1. First a question. Apparently all wired computers are on a different subnet than wireless computers. Is there any way I can access the server if my laptop is on another subnet?
  2. Some kind of proxy. We have a web filter here at school. (Barracuda) I have no particular need to get around it, but it would be cool to do so. Is there some way for this machine to connect to another machine at my house and access the internet from there?
  3. Webserver. I know that I won't be able to access the server from outside of school, but what about a local webserver? Can I also get a domain name instead of just an IP? I've read that I need to use the school's DNS server or something like that. But could I run my own DNS server? (My understanding of how this would work is very poor)

I'm open to any other ideas. Just looking for something to do.
good luck! the best way to learn on your own is to just dive into it. you may find it helpful to take some notes as you go along. honestly if you have a decently stable home internet connection you should try setting up the server there. you really need access to ports and what not if you really want to learn.
Easy Rhino is offline  
Reply With Quote
Old Jan 21, 2010, 01:01 AM   #8
Jizzler
2000 Posts
 
Jizzler's Avatar
 
Join Date: Aug 2007
Location: Geneva, FL, USA
Posts: 3,010 (1.43/day)
Thanks: 567
Thanked 606 Times in 487 Posts

System Specs

Depending on how their DNS is set up, the server's hostname may be automatically registered when DHCP hands out your IP or possibly their DNS server accepts open registrations. That way you can simply access the page by http://hostname

Otherwise get in good with the school's tech (alcohol helps) and have him create a DNS zone for you - domain.whatever along with a static IP for the box or a DHCP reservation.
Jizzler is offline  
Reply With Quote
Old Jan 21, 2010, 03:08 AM   #9
angelkiller
1000 Posts
 
angelkiller's Avatar
 
Join Date: May 2008
Location: North Carolina
Posts: 1,228 (0.67/day)
Thanks: 446
Thanked 225 Times in 201 Posts

Quote:
Originally Posted by Easy Rhino View Post
good luck! the best way to learn on your own is to just dive into it. you may find it helpful to take some notes as you go along. honestly if you have a decently stable home internet connection you should try setting up the server there. you really need access to ports and what not if you really want to learn.
Oh. Didn't think to set the server up at home. I could always SSH into it from school. The box I was planning to use was already at school, so I just went with it.
Quote:
Originally Posted by Jizzler View Post
Depending on how their DNS is set up, the server's hostname may be automatically registered when DHCP hands out your IP or possibly their DNS server accepts open registrations. That way you can simply access the page by http://hostname

Otherwise get in good with the school's tech (alcohol helps) and have him create a DNS zone for you - domain.whatever along with a static IP for the box or a DHCP reservation.
I'll try http://hostname. Good idea. As for asking the school to help me out, I would rather not. If they agree to what I ask, I automatically submit to "if we don't like it we pull the plug". The tech people arn't very kind here. I guess a smaller goal of mine was to be able to do these things without consent. And I know this sounds sketchy, but I really have no malicious purpose at all. I just want to be able to. (And I need a few more years for the alcohol )
Quote:
Originally Posted by newtekie1 View Post
Probably something blocking the SSH, likely a firewall of some kind between the two subnets.
Could be. Are you usually able to SSH into machines on different subnets?
angelkiller is offline  
Reply With Quote
Old Jan 21, 2010, 05:12 AM   #10
Jizzler
2000 Posts
 
Jizzler's Avatar
 
Join Date: Aug 2007
Location: Geneva, FL, USA
Posts: 3,010 (1.43/day)
Thanks: 567
Thanked 606 Times in 487 Posts

System Specs

I'm alright with sketchy. My next suggestion was to get some wireless cams up, saving the streams to your server.

newtekie is most likely right, interaction between wireless and wired clients is probably heavily restricted. Heck they could have several zones set up like "student accessible computers" and the "ones your grades are stored on" as well. Don't know about them because you can't see them, makes it a little harder to hack
Jizzler is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LaCie Reveals New Server Technology For Small Businesses with Windows Home Server btarunr News 0 Jan 7, 2010 12:34 PM
[Project] Uninterestingly Named Project jspace Cases, Modding & Electronics 17 Jun 18, 2009 07:30 PM
Windows Home Server Project edgedemon System Builder's Advice 21 Feb 19, 2009 10:28 AM
Project Silver Tower (PC-75 Windows Home Server) thebeephaha Project Logs 20 Aug 22, 2008 03:05 AM


All times are GMT. The time now is 11:48 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts