Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've configured my machine with dyndns.com so that I can use the ssh and vnc

but the problem is, the machine is connected to internet via dsl,. so it uses a network ip address ex (192.168.1.xxx) instead of using the gateway address directly..

I know the gateway ip address (public ip).. but I can not use it to connect to my machine...

How can I do it? What should I do in order to able to use the gateway so that I can connect to ssh and vnc ?

Thanks

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Go to the web administration page of your gateway, and search for "port forwarding" or "virtual server": the gateway need to forward packets to a given port, say port 22, to your particular internal IP address.

I suppose you can select the service from the list, ssh should be there. Then insert the internal IP of your machine in the "Server IP address" text field.

For services not in the list you should select "Custom server", I suppose the dialog will change to let you put in the port number.

For dyndns, your gateway could have the support (see the help or doc of the gateway) or you can use some software on your host to inform dyndns of external IP changes.

share|improve this answer
    
Thanks, please check this : postimage.org/image/1ggg7k0dg what should I add there ? by the way, the public IP is dynamic so it might change once I restart my router –  DeaDSouL Jul 7 '11 at 7:55
    
@DeaDSouL: I updated the answer, see above. –  enzotib Jul 7 '11 at 8:10
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.