0

Possible Duplicate:
How can I configure my ADSL modem and Home PC to be able to access from external?

Other related questions:
How can a computer with dynamic IP work as a webserver?
How can I make my home PC a web server?
How to deploy my own computer as a web server?
home webserver with blah.com domain
Make ubuntu Server Accesible to the Internet

I have a pc at home with a webserver and a linksys router. What do I need and how do I setup my pc so I can access my pc remotely and how to access a webpage on its webserver?

It's really a 2 part question.

  1. How do I and what software do I need to access my pc remotely.

  2. How do I access a webpage that is running on that same pc from outside my home network?

Tony
  • 243

5 Answers5

3

Go into your router and set up port forwarding for port 80 (or whatever port your server is set up to) so that requests from the Internet go to your computer's IP address internally.

Go to a site like "whatismyip.com" to see what your Internet-facing address is.

Then from an outside network, go to "http://youripaddress" and your web server's content should appear.

Same goes for remote access, forward the TCP port to your software's monitoring port (depends on what you're using; you don't mention it. If you're using VNC for example you'd use 5900 or 5800, depending on the configuration, or you would forward 22 for secure shell, etc.

1

How do I and what software do I need to access my pc remotely.

I recommend TeamViewer, install TeamViewer Host as a Windows service on your home computer and use the TeamViewer Portable to access your computer from anywhere.

How do I access a webpage that is running on that same pc from outside my home network?

If you have a static IP address at home, see Bart Silverstrim's answer, if your IP address is assigned by DHCP (dynamically), use DynDNS.

0

I will suggest logmein.com

This is a quite simple application to install and really user-friendly. It's free!

www.logmein.com

Also, to access your router remotely, enable the remote assistance on it on port 8080 by example and then, you'll be able to manage it.

r0ca
  • 5,833
0

Sounds like you need a good VPN. Grab your favorite Linux Distro, and install OpenVPN.

https://help.ubuntu.com/community/OpenVPN

This will let you connect to your network, and dial in to see what pages you want as if you were connected in the LAN

Urda
  • 847
0

If, like most people, your IP address may change, then a service like DynDNS will let you use a "proper" address rather than an IP address to get as far as your router.

As others have mentioned, you need to open a hole in your router to let you get through to the machine, to access the served web pages, you need to open port 80 and forward it to the machine with the server.

To get access to the machine as a user, you first need to get hold of a server that will allow you to log into the machine. Professional versions of Windows allow one to log in remotely but using a VPN is probably much, much safer. Here is an article on setting one up in Windows XP using the built in stuff.

Neal
  • 8,838