Link to home
Start Free TrialLog in
Avatar of BernardGBailey
BernardGBailey

asked on

How to connect from the web through a router to a Ubuntu 12.04 apache2 server

Hi team,

I need to be able to connect to a Ubuntu 12.04 server in my home office when I am away from my office from time to time. I am having difficulty setting things up to achieve this end point.

This is what I can do:

I can login to Server (960) over the LAN and run my web application fine from several devices in the office.

I can login as 'root' into server as necessary.

I can ping the server (960) successfully from another device on the LAN.

Port forwarding on the router is set up:

Mapping External    External  Internal   Internal  
Name      Interface     Protocol   Start Port   End Port    Port     Host
RDP         TNZ_FIBRE   TCP         3389            3389          3389     192.168.1.76
VTIGER    TNZ_FIBRE   TCP         8888            8888          8888     192.168.1.76
VTon960  TNZ_FIBRE   TCP         8080           8080           80       192.168.1.64

I can login with RDP into a Windows desktop on 192.168.1.76 (Startpoint 3389, Endpoint 3389, Internal port 3389, LAN IP address of target desktop).

I can achieve HTTP access to a Windows webserver on 192.168.1.76 (Startpoint 8888, Endpoint 8888, Internal port 8888, LAN IP address of target Windows webserver).

canyouseeme.org shows 3389 and 8888 as open to be used.

On the Linux server (960) I ran wget http://localhost:80 and got the following confirmation that port 80 is listening:

http://localhost:80/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 177 [text/html]
Saving to: ‘index.html’
What settings do I need for the Startpoint, Endpoint and Port for VTon960?

What do I have to do on 960 to get it to listen/hear requests coming in?

My ISP has blocked port 80 obviously.

All assistance is much appreciated.

Bernard
ASKER CERTIFIED SOLUTION
Avatar of CompProbSolv
CompProbSolv
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BernardGBailey
BernardGBailey

ASKER

Great to see someone understanding the requirement  before wanting to comment on small parts of the question.