Port forwarding

Harisha M G
Harisha M G used Ask the Experts™
on
Hi,
   I have a modem/router in my house (beetel), which has IP address 192.168.1.1. It acts as DHCP server and I get IP address 192.168.1.3 for my laptop.

I have set up Apache 2 server in my laptop, and I am able to access the web site as either: http://192.168.1.3 or http://localhost

Now, what I need is, I should be able to access this web page from outside my LAN network, using my public IP. How do I do this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Who is the manufactor and what model is the router?

Author

Commented:
Beetel, 450BX1
  1. Look for the 'Virtual Server' tab in the left hand hand pane.
  2. In there you can enter the IP and port.
  3. Save and reboot.
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
What IP & port should I put in that page?
192.168.1.3
port 80
Commented:
It should be port 80 and your internal IP (192.168.1.3).

Author

Commented:
It asks for the following and I have provided the details given in parenthesis. But still it doesn't work

Service Name: (WEB)
Protocol: (TCP & UDP)
External port: (80)
Internal port: (80)
Internal server IP address: (192.168.1.3)

Open in new window

Try turning off your Windows Firewall to test, that may be blocking it. If that solves it, turn it back on and create an exception:
http://www.brooksnet.com/setup/firewallsetup-sp2.html

Author

Commented:
Sorry to have not mentioned it, I'm using Ubuntu 10.04, not Windows.

Author

Commented:
Is there anything else that I need to do in the router?

I don't know about any firewall in ubuntu..

Author

Commented:
Thank you! It turns out that the page is accessible if the IP address is accessed from outside my LAN. But if I put my IP address in my own system, somehow it is not working.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial