Author Topic: Personal server ideas  (Read 4118 times)

0 Members and 3 Guests are viewing this topic.

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Personal server ideas
« on: November 30, 2012, 04:18:26 am »
Hey community!

I'm currently trying to set up a server@home for personal use, and I'm wondering which services you recommend. The rig is an old iBook G4 laptop, 1,33Ghz processor and 768Mb RAM. I already installed a debian OS, and I'm thinking of implementing the following services:
- SSH (check);
- File Server;
- VPN;
- HTTP Tunnel.

Is there anything else you guys find interesting to have?

Cheers!

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Personal server ideas
« Reply #1 on: November 30, 2012, 06:17:22 am »
Well I guess it depends on what you want to do.

1. SSH
This is used to connect to your server from a computer as usually servers don't have a monitor, so you would use an application like PuTTy to connect and get shell access to your box (terminal command line)

So I would recommend SSH for a server

2. File Server
I guess that would be an FTP, and if you need it look for an FTP daemon (FTPd) You can then send and receive files from the box. If you download torrents, you could even use it as a seedbox, by setting up ruTorrent

3. VPN
Good if you want to connect to this box to mask your IP or gain access to your local network without actually being on your local network

You can set up LAMP as well if you want to set up and/or test web pages (also would be needed for setting up a seedbox)

You can also install something like XBMC and have it stream your music, movies, and pictures to compatible devices (PS3/Xbox[360]/Mobile Phones/Other Computers/etc)

It really just depends on what you want to use it for
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Re: Personal server ideas
« Reply #2 on: November 30, 2012, 06:04:59 pm »
Hey! Thanks for your input skidiot.h. The seedbox idea really attracts me.
As for the File server, I was more inclined to NFS, because I've used smb earlier and I've read that it's a little insecure to use it over the webz. Oh, and I can sFTP to the machine trough SSH, so there's no need for the FTP redundancy. The VPN and HTTP Tunel are for me to be able to bypass firewall restrictions. Maybe a proxy would also do some good.

Well I guess it depends on what you want to do.

One thing I've had in mind for ages is to make my own music server controlled by phone. That way, I could just plug my earphones to an old smartphone and use it as a wireless headset + controller. I would probably set the system up, try it once and never use it again, but making it work is most of the fun for me, so... VLC and Salling Clicker seem like a good way to do it, but I have to research some more and check all my options.
« Last Edit: November 30, 2012, 06:06:19 pm by Snayler »

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Personal server ideas
« Reply #3 on: November 30, 2012, 06:39:20 pm »
Wellll in that case check this out.
This really awesome.


https://code.google.com/p/android-xbmcremote/


As a matter of fact I was just at the point of setting this up myself.
I let you know how it went.

------


And I dont know how much into security you are nor how much into linux.
But there are some pretty cool things you could do.

Use it as a
1 Gateway
2 Local Caching DNS server (improves web loading times)
3 Squid proxy (Filter Add's ," tracking websites" etc etc etc)


Also dont use samba, blegh.
Samba sucks , SMB sucks.
Indeed SFTP is the way to go.

Tip; Hook in a 1000mbit network card



Are you using linux clients?
« Last Edit: November 30, 2012, 06:44:31 pm by proxx »
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Personal server ideas
« Reply #4 on: November 30, 2012, 11:22:48 pm »
Setting up rTorrent/ruTorrent:

https://evilzone.org/tutorials/installing-rutorrentrtorrent-on-debian/

As for using your android as a remote/streaming player, XBMC is the way to go ;)
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Re: Personal server ideas
« Reply #5 on: December 01, 2012, 06:32:47 pm »
Wellll in that case check this out.
This really awesome.
https://code.google.com/p/android-xbmcremote/
As a matter of fact I was just at the point of setting this up myself.
I let you know how it went.
Unfortunately I don't own an Android phone, only a symbian one. But I've already found some xbmc apps for symbian, so maybe I'm in luck. Thanks for the tip!
Tip; Hook in a 1000mbit network card
Are you using linux clients?
Changing the network card won't do any good since my ISP limits upload speeds at 800Kbps (The bastards don't want me hosting services). As for clients, both linux and windows.

I had another idea for the server, use it as a surveillance system, with motion detection and images being sent to a dropbox/Gdrive for access anywhere. It won't do me any good since my room is always locked when I'm not there, but it would be fun to have it working.
« Last Edit: December 01, 2012, 06:59:03 pm by Snayler »

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Personal server ideas
« Reply #6 on: December 01, 2012, 08:38:24 pm »
Changing the network card won't do any good since my ISP limits upload speeds at 800Kbps (The bastards don't want me hosting services). As for clients, both linux and windows.

I had another idea for the server, use it as a surveillance system, with motion detection and images being sent to a dropbox/Gdrive for access anywhere. It won't do me any good since my room is always locked when I'm not there, but it would be fun to have it working.


1. If its a local server, having a good Ethernet card makes all the difference. You will make local transfers and streaming MUCH faster. If you want your server accessible via internet, then you will get those speeds.


2. LAMP... Linux...Apache...MySQL...PHP/PERL...
Why use a public service like dropbox or Gdrive, use your server to access files anywhere, such as sFTP as was mentioned.
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Re: Personal server ideas
« Reply #7 on: December 02, 2012, 03:27:52 am »
1. If its a local server, having a good Ethernet card makes all the difference. You will make local transfers and streaming MUCH faster. If you want your server accessible via internet, then you will get those speeds.

2. LAMP... Linux...Apache...MySQL...PHP/PERL...
Why use a public service like dropbox or Gdrive, use your server to access files anywhere, such as sFTP as was mentioned.
I guess you're right. The dropbox idea was in case the server got stolen, I would get the stealer's photo. But I can achieve this with a secondary server hosting sFTP on a different location, which seems to be a better option.

I've been trying to compile XBMC from source, since there are no deb packages for powerpc architecture. It's a PITA having to install all those missing libraries, but I guess it's the way to go.

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Personal server ideas
« Reply #8 on: December 02, 2012, 03:54:09 am »
I've been trying to compile XBMC from source, since there are no deb packages for powerpc architecture. It's a PITA having to install all those missing libraries, but I guess it's the way to go.


http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_for_Linux
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Re: Personal server ideas
« Reply #9 on: December 02, 2012, 05:25:48 am »

http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_for_Linux


I've read that before, but I actually missed the debian part. I assumed it didn't exist, which was odd. Well, that makes my life so much easier. Thanks!

EDIT: The xbmc version for my version of debian (squeeze) is 10.0, and the latest stable release is 11.0. I'll keep trying compiling from source and I'll try using the repos if I fail.
« Last Edit: December 02, 2012, 05:28:58 am by Snayler »

Offline silenthunder

  • Royal Highness
  • ****
  • Posts: 700
  • Cookies: 23
  • Anpan.
    • View Profile
Re: Personal server ideas
« Reply #10 on: December 05, 2012, 05:34:29 pm »
I've got the exact same laptop sitting at home with a broken harddrive, I'd love to set it up as a personal file sharing server.. but ATA harddrives for laptops are kinda hard to come across:/ I suppose I can try ebay or something.


"Hacking is a lifestyle, a specific mindset, and it really is a lot of work." - Daemon

"Just wanted to state that this is just wicked social engineering at its best." - proxx

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Re: Personal server ideas
« Reply #11 on: December 08, 2012, 07:39:21 am »
Ok, everything from my first post is up and running now. I've taken so long because I'm currently finishing my course's final project (building a whole networking solution for a company who wants to grow overseas), which is consuming most of my time.

Services implemented:
- SSH
- VPN
- HTTP Tunnel
- File Server (NFS)

I had to give up xbmc because although it compiled correctly, the hardware couldn't run it smoothly. But I've showed it to my brother (who has been dreaming of building a media server) and he just loved it. We will be implementing it this holidays on a slightly better machine, just for fun.

Future projects (for after the final project's end):
- Seedbox (thanks, skidiot.h)
- Proxy
- RogueAP
- Backup Solution (I'm thinking rsync with cron, for automation)

Any suggestion, feel free to leave it here.
Cheers!

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Personal server ideas
« Reply #12 on: December 08, 2012, 11:52:01 am »
what you should do is also throw a mame arcade in there and disguies your proxy/seedbox/etc as an arcade :P and you can even get some buttons and switches a joystick some wood and make it fuckin legit :P
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline Daemon

  • VIP
  • Baron
  • *
  • Posts: 845
  • Cookies: 153
  • A wise man fears a gentle mans anger
    • View Profile
Re: Personal server ideas
« Reply #13 on: December 08, 2012, 06:37:24 pm »
Sorry I haven't posted here before snayler, this project is actually almost exactly what I've been planning for awhile now. I'm also going to.be running debian, I'm just waiting until I move to do this (next month, so excited! ) as ill have a ~30mb/s connection which should be decent for a home server imo.
Anyways, some things I've experienced with a testbox at work:
In order to transfer files TO the server, install ssh on the server and download an scp client for your remote box (win7 here) I was able to easily move config files I had saved to my laptop to the server (servers usb port is broken and I'm not allowed to mess with it)
I've also installed tightvnc because I'm following a guide (see end of post) that uses a web panel to create virtual servers for my own enjoyment and pleasure. Its been nice to either pop open ssh if I need a shell, ir connect with a vnc client if id rather access the web browser, am having troubles with the cli, or just because I can!!
Btw, this looks really cool and makes you seem uber smart to non-tech savvy people. Wanna go for the gold? Be all hush hush and act like its a comp. You hacked. Give it a government looking background, and act all secretive. Connect via ssh first and pretend to be hacking it with lots of fancy looking commands like tar -xvf | grep foo | pwd and watch them gasp in awe. Finally close ssh and open up vnc, to show off your "hack"  :P

Lol but back on topic...
Anyways ill be setting up LAMP on mine and turning a portion of my server into a file server. Then I also want to have hosting for several websites on there as well. I'm leaving off vnc, only ssh scp and sftp protocols will be allowed on it. Though I may add an email server as well...
Ill be sure to let you know man, keep us updated with your project too please.

And good luck with the rest :)


Edit*
Forgot the link lol
 http://www.howtoforge.com/virtual-multiserver-environment-with-dedicated-web-mysql-email-dns-servers-on-debian-squeeze-with-ispconfig-3
« Last Edit: December 08, 2012, 06:40:36 pm by Daemon »
This lifestyle is strictly DIY or GTFO - lucid

Because sexploits are for h0edays - noncetonic


Xires burns the souls of HF skids as a power supply

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Re: Personal server ideas
« Reply #14 on: December 08, 2012, 07:08:03 pm »
what you should do is also throw a mame arcade in there and disguies your proxy/seedbox/etc as an arcade :P and you can even get some buttons and switches a joystick some wood and make it fuckin legit :P
That's actually a very good idea. I've zero experience with wood work, but I think I can manage. I've also seen some guide on how to build the wood board (with USB connector + buttons + joystick), so I may very well try that idea.
"Officer, that's only an arcade machine. It's not my fault someone hacked it!"  :P

I'm just waiting until I move to do this (next month, so excited! ) as ill have a ~30mb/s connection which should be decent for a home server imo.
Well, when you compare that with my 1,2mb/s down, ~100kb/s up connection, that's really good! If only I could find a decent Internet connection in my neighbourhood... ;)

Btw, this looks really cool and makes you seem uber smart to non-tech savvy people. Wanna go for the gold? Be all hush hush and act like its a comp. You hacked. Give it a government looking background, and act all secretive. Connect via ssh first and pretend to be hacking it with lots of fancy looking commands like tar -xvf | grep foo | pwd and watch them gasp in awe. Finally close ssh and open up vnc, to show off your "hack"  :P
LOL! That reminded me of a few days back, when I was at a friend's house and someone started torrenting like hell, making it impossible for the others to access the internet, so I just fired up nmap to see how many people were connected. I just said "Ok, there are 9 people connected to the same network" and one of the guys who was with us started acting all excited like "OMG ur a hacker? That's so cool!". I mean , it was just nmap running on a terminal window, but somehow, all those characters running down the terminal made his eyes glow. Don't get me started on his reaction when I started a simple mitm attack.

Anyway, I don't like others to look at me like I'm a hub3r 1337 h4x0r, because I'm not. I have some knowledge, and I learn quick (genetic gift from my father), but I'm just a person like everyone else. And I think it brings unnecessary attention on me, which could turn against me someday... ("So, I heard you're a hacker... And someone hacked my bank account... 1 + 1 = 2").

Anyway, back on topic: Thanks for the link Daemon, I'll look into it. If I finish the arcade part, I'll also post some photos to show you the final result.

Cheers!
« Last Edit: December 08, 2012, 07:46:08 pm by Snayler »