Anthonyfromtheuk
Posts: 17
Joined: Sat Mar 29, 2014 3:28 pm
Location: UK

Setting up home server

Sat Mar 29, 2014 3:37 pm

I am brand new to this whole raspberry pi linux thing hopefully that doesn't make you not want to assist me. I have installed all files i need for a home server on my pi and when i connect via my pis ip address i get the webpage i expect showing up. how do i now make this available to others outside my own network? i have a URL i can direct to it once i figure out what my raspberry pis "external" ip is but right now i am confused. sorry if this has already been answered but i dont know what to search for this problem

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Setting up home server

Sat Mar 29, 2014 6:42 pm

Hi,
Anthonyfromtheuk wrote:I have installed all files i need for a home server on my pi
Hopefully, you took time and also set proper firewall.
Anthonyfromtheuk wrote:make this available to others outside my own network?
You can either:
- connect RasPi directly to a network cable coming from your internet provider or
- set port forwarding to the RasPi connected to internal network. This port forwarding must be set on a device (router) which is connected to a network cable coming from your internet provider.
Anthonyfromtheuk wrote:once i figure out what my raspberry pis "external" ip is
http://www.whatismyip.com/
Anthonyfromtheuk wrote:i dont know what to search for this problem
You should try to figure out the issues properly and then ask uncle Google for a solutions - these are very basic tasks which you're doing here and more than enough articles already explain things well.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

User avatar
default_user8
Posts: 678
Joined: Mon Nov 18, 2013 3:11 am

Re: Setting up home server

Sat Mar 29, 2014 7:45 pm

If all you want to do is share files the most secure option is to allow ssh connections to your pi from your users. They can create an ssh session with putty or bitvise tunnlier and transfer files over a secure connection, which is more secure than a ftp server.
Two heads are better than one, unless one's a goat head.

txt3rob
Posts: 365
Joined: Sat Aug 11, 2012 3:45 pm
Contact: Website

Re: Setting up home server

Wed Apr 02, 2014 12:18 pm

you could use hamachi https://github.com/txt3rob/hamachi-pi

but you need to install hamachi on the devices you want to access it.

you can also port forward and then use owncloud to have something like dropbox on it.
The Raspberry Pi Hell Guy - Random Ramblings to assist me and others.
http://raspberrypihell.blogspot.com
My Github - http:/www.github.com/random-robbie/
http://www.smspi.co.uk - send free uk sms via your raspberry pi from here

User avatar
TideMan
Posts: 237
Joined: Fri Jun 22, 2012 8:08 am
Location: ChCh, NZ

Re: Setting up home server

Thu Apr 03, 2014 3:18 am

txt3rob wrote:you could use hamachi https://github.com/txt3rob/hamachi-pi
Hamachi is excellent, especially if your external IP is dynamic, not static.
In other words, if your ISP changes your IP address everytime you reboot your modem, or even at their whim, as my ISP does, the ratbag.
If you wish in this world to advance, your merits you're bound to enhance.
You must stir it and stump it and blow your own trumpet, or trust me you haven't a chance.
Ruddigore, G&S

gregor3000
Posts: 114
Joined: Tue Nov 20, 2012 12:57 pm

Re: Setting up home server

Mon Apr 07, 2014 12:41 pm

hamachi - closed source, oing through other server and completelly unnecessary in this case,.

what the op needs to do is as mentioned - forward their (web server Apache, ngnix?!) port on router
to access the server in other ways there is ssh which can easilly be set. again for this service to be used outside LAN necessary port has to be forwarded on router.

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Setting up home server

Mon Apr 07, 2014 1:13 pm

Anthonyfromtheuk wrote:I am brand new to this whole raspberry pi linux thing hopefully that doesn't make you not want to assist me. I have installed all files i need for a home server on my pi and when i connect via my pis ip address i get the webpage i expect showing up. how do i now make this available to others outside my own network? i have a URL i can direct to it once i figure out what my raspberry pis "external" ip is but right now i am confused. sorry if this has already been answered but i dont know what to search for this problem
Who is your ISP?
Does the router they've given you support port forwarding?
http://en.wikipedia.org/wiki/Port_forwarding

You will probably want to open ports 22, 80 (and maybe 443) on your router so that external traffic (from the public internet) is forwarded to port 22 & 80 on your RPi.

If your ISP changes your public IP address on a regular basis you'll also need a dynamic DNS service so that you can give your machine a domain name (that never changes) that the dynamic DNS service will update to your current public IP address (as and when it changes).

I like using http://freedns.afraid.org/ for that.
They have a script that will run on your RPi to do the dynamic IP updates.
http://freedns.afraid.org/scripts/freedns.clients.php scroll down to the Unix section.

They have a funky list of available domains that you can join
http://freedns.afraid.org/domain/registry/
I've just snatched a couple in http://somesillynamehere.UK.TO
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Anthonyfromtheuk
Posts: 17
Joined: Sat Mar 29, 2014 3:28 pm
Location: UK

Re: Setting up home server

Thu Apr 17, 2014 9:20 pm

thanks for all the replies!
I got this working using no-ip.org

Return to “Networking and servers”