Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a server connected to a DSL router. If I go to whatismyip.com, I get an IP address, but I can't access the server from a remote location using that IP address. Instead I have to use the IP of the DSL router to connect to the server (SSH / HTTP). Is there a way to configure the router to allow connecting to the server using the server IP?

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

The short answer is no.

You see the routers IP address because that is the publicly routeable address, your server's address will be in your private address space. The only way you can get to your server is to configure your router to do port-forwarding for particular services (like ssh & www).

Do be aware that your routers address will change occassionally so you might want to look into dynamic DNS if your project is long term.

share|improve this answer
add comment

Find in yours DSL modem parameter DMZ Zone end put local ip addres of server to it. Now all connections to yours DSL modem whoud go to server.

share|improve this answer
add comment

You're probably seeing a Web Proxy IP when you're accessing whatismyip.com.

Unless you know that there's a IP address range routed for you by your ISP (like a /29 range) then you're probably using NAT so port forwarding at your router onto a non-routeable address (192.168.0.0/24 for example) for services like SSH, using the router's IP, is the only access available.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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