1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

My Server Project

Discussion in 'Networking & Security' started by angelkiller, Jan 20, 2010.

  1. angelkiller

    angelkiller

    Joined:
    May 16, 2008
    Messages:
    1,258 (0.54/day)
    Thanks Received:
    225
    Location:
    North Carolina
    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. :)mad: 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.
     
  2. DanTheBanjoman SeƱor Moderator

    Joined:
    May 20, 2004
    Messages:
    10,553 (2.80/day)
    Thanks Received:
    1,383
    It's called routing. I would imagine that already being in place.

    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.

    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.
     
  3. newtekie1

    newtekie1 Semi-Retired Folder

    Joined:
    Nov 22, 2005
    Messages:
    19,921 (6.18/day)
    Thanks Received:
    6,021
    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.
     
    Crunching for Team TPU More than 25k PPD
  4. angelkiller

    angelkiller

    Joined:
    May 16, 2008
    Messages:
    1,258 (0.54/day)
    Thanks Received:
    225
    Location:
    North Carolina
    Thanks for the replies.
    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.

    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.

    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?

    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. :cool:

    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)

    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! :)
     
  5. newtekie1

    newtekie1 Semi-Retired Folder

    Joined:
    Nov 22, 2005
    Messages:
    19,921 (6.18/day)
    Thanks Received:
    6,021
    Probably something blocking the SSH, likely a firewall of some kind between the two subnets.
     
    Crunching for Team TPU More than 25k PPD
  6. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,422 (4.68/day)
    Thanks Received:
    3,240
    he said the point of doing this was to learn...
     
  7. Easy Rhino

    Easy Rhino Linux Advocate

    Joined:
    Nov 13, 2006
    Messages:
    13,422 (4.68/day)
    Thanks Received:
    3,240
    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.
     
  8. Jizzler

    Jizzler

    Joined:
    Aug 10, 2007
    Messages:
    3,418 (1.32/day)
    Thanks Received:
    637
    Location:
    Geneva, FL, USA
    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.
     
  9. angelkiller

    angelkiller

    Joined:
    May 16, 2008
    Messages:
    1,258 (0.54/day)
    Thanks Received:
    225
    Location:
    North Carolina
    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.
    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 ;))
    Could be. Are you usually able to SSH into machines on different subnets?
     
  10. Jizzler

    Jizzler

    Joined:
    Aug 10, 2007
    Messages:
    3,418 (1.32/day)
    Thanks Received:
    637
    Location:
    Geneva, FL, USA
    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 :)
     

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

Share This Page