3

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.

3 Answers 3

1

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/

0

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.

0

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

1
  • 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. Oct 6, 2012 at 15:29

You must log in to answer this question.

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