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 just installed ubuntu server 12.04 on my office pc with:

  • Open SSH
  • DNS
  • LAMP

I also have following installed and configured:

  • webmin
  • PHPmyadmin
  • proftp

I have set my IP to static in interfaces by editing it. Now I want to access my office pc from home but for that I guess I have to make it a live server which I do not know how to do that.

Please help me with this.

share|improve this question
add comment

3 Answers

If your computer is behind NAT ( http://en.wikipedia.org/wiki/NAT ) you need first to redirect ports to your computer in router and then use IP address to connect. But if it is not behind NAT you need just to know IP address for connect to computer.

You can also use a service like: no-ip: http://www.no-ip.com/

share|improve this answer
add comment

First of all

You should not use Webmin. The reason is that webmin easily breaks your system and do weird actions for simple actions. Plus it is not secure for online use.

You have ssh witch is quite enough (I assume that you said openssh server, if not install it)

As you can see you can enjoy a bunch of knowledge and people wishing to help : if you don't know how to do one thing google it, search here in askubuntu and if you can't find it ask a question here.

The Online issue

You need to configure internet on your server. For that you must specify the gateway and dns ips.

If your Ip is local :

open a console and type ipconfig. If you see something like 172.16.XXX.XXX or 10.XXX.XXX.XXX or 192.168.XXX.XXX then it's local (XXX being a number)

In that case you must access to your router and do some port redirection. THe port are the communications channels (TCP/22 for SSH, TCP/21 for FTP, TCP/80 for HTTP)

And then you must know your public IP witch you can obtain by searching "what is my ip" with a browser

If your ip is not local then you are online and the IP of your machine is the IP that you must access.

share|improve this answer
add comment

If you are using a Real/Public IP in your server, you can just access your server by IP address

share|improve this answer
2  
I recommend clarifying this to explain what you mean by a real IP. Also, please note that a corporate firewall might block access, even if NAT routing is not used. –  Eliah Kagan Oct 6 '12 at 15:29
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.