Monday, January 7, 2008

Setting up a Home server

Setting up a home server out of your desktop given a static ip is a relatively easy task. Whats normally tougher is to do it without such a facility from your ISP. My ISP, BSNL does not give me a static IP on the plan which I have taken, which is Home UL Plus.

I still wanted to tinker around to get an external face to my new proud acquisition - a desktop. My colleague, Arup, did point me to dyndns.com, which provides a facility to wire together your dynamic ip to a static domain free of cost. Well, if you are lucky enough, it should work.

For me, unfortunately, I also have a Netgear WGR614v7 Wireless router installed at my home which connects to the Modem. Firstly, the modem, UT Starcom UT 300 R2U is hardly the kind of modem which allows for port forwarding. It does have av Virtual Server section, but I couldn't get it to work. More so, I was not sure how modem+router will behave.

Just when I had spent almost the whole evening to get it to work, I hit upon this page, which hit the bulls eye - to use the modem in bridge mode and let your router acquire the IP address. Not just did this work, but my Netgear router also has automatic integration with DynDns. So, updating the IP to the DynDNS server also became a non starter for me.

The final output is http://iyer.homelinux.net which is my new face to the internet. I don't have current plans on how to use this, but I am guessing some interesting things will come up.....

ps: I realize that even with my 600 VA UPS, I can't keep the server up and running in the face of constant threats from the power guys....

3 comments:

  1. Earlier I also had a similar setup where I had a D-Link DI-524 Wi-Fi Router and airtel broadband connection. The airtel people they also provide a broadband router which supports DynDNS. So what I used to do is configure the airtel router with DynDNS settings. Then create a virtual server in the airtel router to point to the D-Link router, then again configure another virtual server in the D-Link router to point to my actual desktop. I disabled DHCP in the airtel router and configure the wifi router with static IP. Otherwise every time the D-Link router is rebooted it used to acquire a new IP from the airtel router. Which breaks the virtual server configuration from airtel router to the D-Link router.

    This is how my setting looks like:
    Airtel Router Virtual server
    Port 80 -> 192.168.0.2:80(Static IP of the D-Link router)
    192.168.0.2:80 -> 192.168.1.100:80 (Static IP of my desktop)
    ReplyDelete
  2. Thanks a lot for the post you mentioned. It did the job for me!
    I am able to see my website but there are still issues with VNC port 5900, but that must be a port forwarding issue.
    ReplyDelete
  3. I was referring to the following link:
    http://broadbandforum.in/bsnl-dataone-broadband/8334-need-help-port-forwarding-via-netgear-wireless-rtr-ut-300r2u/

    My setup was for Airtel Beetel Model 220BXI and Linksys Router and I put the modem in the "bridging" mode and put the router in the PPOE mode with Airtel username and password. And it worked. With port forwarding I could see my website hosted over the internet from my home PC.
    thanks again for the research you did.
    ReplyDelete