Home > Internet > Can the Outside world access my webserver Via Adsl DHCH line(Bsnl Broad band)?

Can the Outside world access my webserver Via Adsl DHCH line(Bsnl Broad band)?

June 25th, 2008

I wanted to allow all those who use internet to access the webpage hosted in my local webserver, when i am in a adsl dhcp broadband line. That is, by giving the IP address that is temporarily assigned to me, the user in the other end in internet should access my webpage . I wanted to know whether this works atleast for the few mins the IP address assigned to me.

I made a try, using ifconfig i found the system IP address. It said 192.168.1.33. And for editting the router setting, I used 192.168.1.1. so i found these Ip addresses are dummy, used just to establish a lan between the system and the router or modem.

Using www.whatsmyipaddress.com i found the real temporary dhcp ip assigned to me in the internet was something else. like ww.xxx.yy.zz. I gave the Ip address to my friend who was online and enabled my webserver service and i expected that my friend should get the page that was hosted with in my webserver. But my expectation went wrong. He got my router settings page requesting for username and password. I confirmed that it was my router settings page that i eddited sitting in my home. . .

Somebody could edit my router settings knowing my dhcp ip and my username and password. The same came when i gave the ww.xxx.yy.zz ip address in a browser of mine…. Still trying whether i could farward the request from my router to my system. Whether it is possible????

If some body could help comment me. . . .

May be my assemtion may be wrong in between correct me if i was wrong…..

During this try i Came across the word Dynamic DNS. Will tell you in details in my next post.

Internet , ,

  1. Benny Joseph
    October 14th, 2008 at 11:23 | #1

    You need to configure your ADSL modem/router to route requests coming from outside to go to your machine which is running as a web server. Set up the machine with a static IP address and configure the router to forward packets to the machine. Go to the IP forwarding section of your router’s configuration setup and set it to allow traffic on port 80. Configure your machine to use its own DNS. You can acces your website like http://ww.xxx.yy.zz/

  2. October 14th, 2008 at 17:49 | #2

    Thanks for your comment, thanks for ur support.
    I have been searching from long back..
    I have no IP forward option at all..
    I have Routing, NAT(Single Ip and Multiple Ip), DMZ, VirtualServer, IP maping for multiple IP Nat,
    Is there anything to do with it….

  1. No trackbacks yet.