web analytics

Web publishing from home

I have been having a discussion with a colleague about setting up a web server on a home LAN. I have done this and thought it might be useful to record the main configurations needed.

My router is also a firewall which basically means that by default all inward traffic is blocked. Anyone accessing my server which has a private IP address (192.l68.1.X) which cannot be reached as the 192.168.X.X address range is un-routable over the Internet. However, we know that all web traffic is transmitted on port 80 so what we need to do is to ensure that any port 80 traffic which is received by the router/firewall can be passed into the Web server.

This can be done by using a port map! This means that we need a firewall rule which stats that any port 80 traffic coming from the internet to the Router public address should be passed in to the sever on address 192.168.1.X. The detailed description of how to do this might vary from one router to another so I will not give any details here.

In my case my Router is assigned an IP address by my ISP – this address can change from time to time. So I use a free Dynamic IP service provider to maintain a DNS entry for my router which identifies it as ruach.homeip.net regardless of the IP address which is has been assigned by the ISP. My router supports this so it works fine. See the following web site http://www.dyndns.com via the following link:

  • Click Here
  • Of course it is not considered to be a good solution for a web server which is being heavily accessed or is service broadband content such as video. This is because of the fact that a domestic ADSL service has a low bandwidth up stream connection. In my case not very many people will want to access my server so I am happy to configure it this way for now. I rather feel that a diagram is needed to fully explain this – I will try to provide on soon!

    The following diagram illustrated this setup – you can click on the image to see a larger version.

  • Leisure time at the weekend.

    Went for a walk near Monymusk around the Dam with some good friends. Very relaxing and took the camera and have some photos to share. See the following link

  • Click Here
  • This is the Photo which is my favourite

    This was published using iPhoto and iWeb and is hosted on a server on my home LAN. So easy to do. Very nice to have the time to just have a relaxing walk and to enjoy the county side nearby Kemnay. Need to take more opportunities to take advantage of this amenity.

    😉

  • ADSL performance issues!

    This is a rather long rant about the quality of experience I have been seeing in connection with domestic and broadband ADSL services.

    I would like to hear about other peoples experiences – see the request for information at the end of this post.

    There is a site which I came across recently which I found to be a useful starting point
    when investigating broadband speed issues.

    http://www.kitz.co.uk/adsl/speeds.htm

    This offer access to a number of speed test services which can be used
    freely.

    Secondly, I want to recount a recent experience I have had with one ISP which will remain anonymous for now!

    My daughter has a broadband service at her flat in Glasgow where I sometimes
    stay. I decided to do some spot checks on its performance. I have used a
    number of tools to do these tests and here is a summary of my findings. I
    should say that this has resulted in an approach to her ISP to complain
    about the performance she experiences.

    Her service is a 8Meg service so is configured as follows

    448 kbps upstream
    8128 kbps downstream

    I did speed tests over a number days using a number of test tools
    and found that the performance was consistently in the region of 350kbps up
    and down stream (in my view poor).

    I phoned her ISP to make them aware of the and the ISP required me to
    perform some tests before they would escalate this to BT!

    1 Confirm that the phone line was working OK with no audio interference (
    crackle etc)
    2 Perform speed tests using a BT provided tool

    1 I did test one by using the BT automatic phone line testing facility and
    this returned a clean bill of health. I also confirmed that the line was
    clean with no distortion or audio interference.

    2 The BT speed tested can be used two ways.

    Either by accessing over your normal ISP configuration
    or by reconfiguring your ADSL connection to connect to the BT service
    separate from you normal ISP service.

    I did a number of tests starting last evening using both methods.

    The results are interesting and summarised below!

    (Linda has a 1:50 contended service and she lives in Bishopbrigs, north side
    of Glasgow)

    16th Jan 900pm download speed 360kbps
    11.40pm 893kbps

    (Up to this point these results are pretty consistent with my previous tests
    over a number of weeks – these tests have been fairly consistent in term of
    the downstream speed performance and the time of day when they are performed
    – interestingly my daughter complains of being dropped from the MSN service
    from time to time – I am not sure yet if this is actually relevant in this
    context!)

    17th Jan 00.17am 3827 kbps ( via the ISP)
    06.45am 2761 kbps ( via the ISP)
    07.05am full test direct to the BT service – so
    no ISP
    Configured Upstream 448kbps
    Configured Downstream 8128kbps
    Performance Downstream 6555kbps

    Now I found this last test result very interesting so I reconfigured to use
    the ISP and did another test using speedtest.net

    Here are the results
    17th Jan 7.10am downstream 6432kbps
    upstream 380kbps
    07.15am downstream 6446kbps
    upstream 364kbps

    This is quite remarkable – almost as if doing the full test direct to BT
    lead to a fault fix, which I am sure is not the case!

    The following day I asked my daughter to perform a series of tests
    throughout the afternoon and evening. Basically, we seem to be back to a
    performance which is of the order of a 400 – 1200k but more often than not
    in the hundreds of k’s.

    I wondered if others people might have had similar experiences.

    ( I should add that I had the same test done from my home location which is
    a 2 Mbps ADSL service and the results there were pretty acceptable 1.8Mbps
    down and 250kbps upload)

    To access the BT test you need to re-configure your access router to use the
    following user name and password

    User name speedtest@speedtest_domain
    PWD testing
    Address of the test site is speedtest.bt.com – 217.32.107.42
    I did find this site to be very busy and had to make a few attempts to get
    the test to work – you also need to give the phone number of your line as
    part of the test! I think BT might keep a record of any tests that you
    perform to assist in fault resolution!

    If you are able to run this test I would be very interested to hear the
    result. My interest in this is fueled by recent performance problems
    which were experienced in a school using an ADSL ( 1:20 contention).

    If you can record the following:

    Type of service you have – ADSL 512k, 1Mbps, 2Mbps or 8 Mbps
    The actual connection speed achieved for both the up and down links ( you
    need to access the router diagnostic system to confirm this)
    The actual ping performance, actual down and up link speeds.

    There is another online speed test tool which I have found to be
    particularly easy to use. Here is the address!

    http://www.speedtest.net/

    Any feed back would be most welcome! just post your results by replying to this post.

    Jim

    New Laptop

    Have just spent some time migrating my work environment from my G4 Laptop to a newer Intel based MacBook Pro. Looking forward to spending some time with this new setup. I have Parallels installed which allows for the installation of multiple Virtual Machines. So I now have not just Mac OS X but Windows XP too. Performance of the Windows is pretty impressive to date ;-).

    Its been a while since I last posted – but I am hoping to get back into the reqular routine of posting now that my peave period is past etc.

    Jim

    MIICE using Wiki’s

    I have to admit that I have not yet become an instinctive Blogger. But there is no doubt that the Web 2 applications are gaining popularity. I see that the MIICE project has recently setup its own Wiki.

    See
    http://wiki.miice.org.uk/wiki/show/HomePage

    I had a quick look this morning and made a short contribution.

    The Web is now becoming a very complex place with a great deal of the structure and content left to individuals as they author their own web pages. I am not saying that this is a bad thing – quite the contrary, it gives individuals control over their own ability to publish their own thoughts and views etc. But at the same time the range of facilities there must now be very daunting for new participants.

    One thing I have observed about my own children is their ability to adopt new technology without any real problem.

    Take the mobile phone as text communication device.

    I recall having a conversation with Stephen Heppell ( see http://www.heppell.net/) when he described some research that Ultralab had done into using mobile phone as a text communication device. This was just before the use of mobile phone really took off. Apparently the research concluded that mobile phone were not suitable as a text communication device because of the limitations of the key pad.

    Look at the situation now when most children in the UK have a mobile telephone and communicate with them using text ‘fluently’. They simply reinvented the english language to make it easier to use through this medium by abbreviating words using combinations letters and numerical characters etc.

    Just goes to show how versatile our young people can be.

    Its clearly old ‘codgers’ like me that have difficulty adopting and exploiting this new technology. Children seem to have a great capacity to simply ‘get on’ with it!!!!