Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Ubuntu Netbook at home using fios.. I would like to know if I can access the computer from anywhere on the internet

share|improve this question

migrated from Aug 9 '12 at 20:56

This question came from our site for system and network administrators.

There are many ways to do this.

The safest is via SSH, but it is only command line access.

You could use the VNC based Desktop Sharing service offered by Ubuntu, but VNC has terrible security flaws.

You could run Teamviewer in wine and access you machine from really anywhere, even an android mobile.

share|improve this answer
With ssh -X you get X11 forwarding, which means that you can run X11 client programs programs such as Xterm, firefox, etc that execute on your ununtu netbook, and display them on your local X11 server (the desktop you are sitting at). – Justin Dearing Aug 9 '12 at 21:48

The most important thing to do to be able to access your computer inside your home network from the internet is to enable your modem/firewall to open one or more ports and direct them to your netbook.

Let's use a simple example and assume your internet connection has a static IP (if it is dynamic you need to find out when it changes and to which IP or you won't be able to access it anymore). Let's also assume you want ssh (port 22) access to your netbook.

Ok, static IP of your home internet connection is, your internal LAN uses, your netbook has IP (make it static, not dhcp assigned).

Configure your modem/firewall to direct traffic to port 22 to your netbook at IP The names used for this are not always the same, it could be application level gateway, firewall, application firewall, what have you. Just as long as you make sure to direct traffic the proper way.

As an aside, you could also enable DMZ and configure the DMZ to use your netbook at, however that opens up your netbook to more than just port 22 for ssh and you'd have to configure a firewall on your netbook to prevent anything bad to happen. So that's probably out of the scope of your question.

By default your netbook already should have an ssh server running, if not run:

sudo apt-get install openssh-server

Once finished the ssh server is up and running.

You should also install a tool to prevent brute force password hacking to your ssh server:

sudo apt-get install fail2ban

Read the docs in /usr/share/doc/fail2ban/ on how to enable it, it's quite easy to do.

If you set everything up correctly you should be able to log into your netbook remotely from anywhere like this:

ssh -l username


ssh username@
share|improve this answer

Considering the brevity of this question, you may want a simpler approach like TeamViewer.

This will keep you from having to keep up with your public IP changing. You won't have to bother with port forwarding. And it will work from virtually any location.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .