I am created a small home server with centos. I needed to acess the server over internet.

I have one router and one modem. The router is wireless wifi router.It have a web interface. I can port forward to the specific server ip on the LAN with the help of router. But the internet accessed by modem. The modem connected to the router.The one of the major problem is modem have no web interface.

i am planned modem to router DMZ configuration - but there is no web interface available in the modem. How can port forward from modem to router?

  • If the modem is a modem it doesn’t need to be set up. What external IP does your “router” show? – Daniel B Aug 3 '16 at 13:24
  • external ip of the modem and the router external ip are different.means that, the web interface of router shows one ip address. when i checked my ip on google it will show different ip. – Jees K Denny Aug 3 '16 at 13:25
  • 1
    Unfortunately, considering the possibility of carrier-grade NAT, that doesn’t mean anything. What type of access do you have? ADSL/VDSL? Cable? Some sort of mobile network? What’s your ISP? // Almost forgot: Please perform a traceroute to Google (or whatever) and include the output in your question. Please note that your public IP will never appear in the output so please keep censoring to a minimum. – Daniel B Aug 3 '16 at 13:28
  • How is the router configured to access it's WAN interface? If it is something like PPPoE you might effectively be NATed, or otherwise locked in a private IP address space. That could make problems that could only be solved via a tunnel or VPN. Can you give the first couple of bytes of your router's external IP address? – infixed Aug 3 '16 at 13:31
  • 1
    I don't know. It's technically possible. But I would not be surprised if they try to get you to pay to upgrade you to a business-level account with a fixed IP address if you do. – infixed Aug 3 '16 at 13:44

If you’re connecting to the modem via PPPoE, it really works like a modem. That means you already get all the data your ISP sends you, unfiltered.

(Theoretically, it could still filter the traffic, but that’s unlikely.)

Coupled with the fact that your “real” public IP address is different from the one your router shows means you’re behind a carrier-grade NAT system. Seeing how you’re from India, there’s probably a severe shortage of IPv4 addresses, making things like that necessary.

Your ISP will not set up a port forwarding for you. It’s most likely impossible for them, even if they wanted to.

Like @infixed speculated, they will direct to a business plan. These plans usually include fixed IP addresses (among other things) but are a lot more expensive.

You could get a cheap Virtual Private Server, set up a VPN server on it and connect to this VPN server both from your home server and mobile clients. That way, you would be able to access your home server (and with proper setup the entire home network).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.