Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Recently i got the Internet connection from ISP who has given a dynamic ip so i visit no-ip.com and setup a dns and the webserver become public from my system. From the ISP provider i dont have the router in between only a converter type thing.
Now i got another internet connection now they have given a router through the telephone landline and it is configured with that ip address, and it has dhcp server enabled so iam getting the ip now 192.168.1.2
but this time iam stuck at the router and unable to come inside i.e it is stoping at the router and not coming in the traffic of webserver because there is no option for port forwarding.
So how can i make things working, with the use of above router.
Using any third party applications can i get the traffic to my webserver in my system from the outside world.
what kind of router is it, can you use your own? Perhaps there is a way to port forward... many routers call it something else.
If port forwarding is completely out of the question, you can try entering your external ip and change it as needed with your current no-ip service (i'm not sure how they work); or use something like zoneedit.com. My experience has been that dynamic addresses rarely change (check the lease time) unless the router is restarted or unplugged.
Your router may not be a router at all but rather a limited router-bridge, more commonly known as a DSL or Cable modem.
In the case that you actually have a real router, you should be able to configure the router to pass through only the ports you want to open for web access. Usually port 80 for web service, and port 25 for e-mail, although what most secure web sites use is an online mail system.
You also need to turn of the DHCP on the router, or set it to assign addresses above 99 (100-254). Set your computer to a static address of 192.168.1.2 so it does not change over time with the DHCP connection.
If all you have is a modem, then I would recommend that you get a Linksys router (wireless ones are inexpensive, and they have built-in hubs for Ethernet) and configure it to work with your modem. Again, open the ports you need for your web site.
BE SURE TO SECURE YOUR WEB SITE WITH LONG PASSWORDS!
Something randomly selected and that cannot be compromised by attack bots, as you will get a few against your site once it is published.
Note that many ISPs do not allow you to host a website or similar thing---check your terms of service.
Quote:
only a converter type thing.
This does not help. When you are posting information on you configuration, tell us exactly what you have---if nothing else, give the make and model number off of the label/nameplate.
Airtel broadband through the telephone line cable modem. It doesnot having the port forward but it is having the dhcp server which is activated and iam getting the ipaddress of that.
say for example when i check the ip through the website (whatismyip) it is saying 123.14.56.7 which is external ip provided to the cable modem by isp airtel.
And iam gettig the ipaddress in my system i.e when i type the command
ifconfig - is 192.168.1.4
So when the ip-forwarding is not there in the router what i should do for the incoming traffic to my system to access this from outside the world.
I think this iinformation is understandable please let me know
Here are a couple of blogs posts that relate to using an airtel modem with a router and just replacing the modem with a router/modem. Be sure to read the comments as well. It seems like using the modem as a bridge with a router, or making sure the router has a different ip than the modem would be a good place to start. There seem to be several cons with the airtel modems though.
Not sure if the modems mentioned are what you have. It looks like you'll need to get a router (to use with the modem) or a router/modem (to replace what you have).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.