Solved

Urgent

Posted on 2008-10-15
28
742 Views
Last Modified: 2012-06-22
I need to enable computers from outside my router's internal network  to be able to browse to my asp webpage witch is hosted on my IIS.

maybe with port forwarding or virtual server.
0
Comment
Question by:RahnLev
  • 16
  • 8
  • 3
28 Comments
 
LVL 17

Expert Comment

by:houssam_ballout
ID: 22729447
you should make port forwarding;
create a rule on your server or router for example on port 3000
for example,I'd done this on my linux server for forwarding:

iptables -t nat -A PREROUTING -j DNAT -i eth1 -p tcp --dport 3000 --to-destination 192.168.10.101:3000


0
 

Author Comment

by:RahnLev
ID: 22729501
I dont know wre to add this line...
0
 
LVL 17

Expert Comment

by:houssam_ballout
ID: 22729538
what server do you have or router?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:RahnLev
ID: 22729607
router edimax
0
 
LVL 17

Expert Comment

by:houssam_ballout
ID: 22729625
is there an  option to create port forwarding
does that router have a real ip on it>
0
 

Author Comment

by:RahnLev
ID: 22729739
yes there is an option for port forwading.
yes it has.... reall as a regular IP from the provider.
0
 
LVL 17

Expert Comment

by:houssam_ballout
ID: 22729790
to create a port forwarding rule, on port 4444 for example
and redirect the ip to the ip where the application is installed.
0
 

Author Comment

by:RahnLev
ID: 22729936
this is a screenshot of the edimax port forward page....

1 thing I dont anderstand is that even if I close the Development srv (stop the Debug) I still can browse the page from within the machine.
Port-forwarding.jpg
0
 
LVL 17

Expert Comment

by:houssam_ballout
ID: 22729961
in the private IP type the ip of the pc that had the application hosted.
chose the port that you want.

the same method as your current port forwarding table
0
 

Author Comment

by:RahnLev
ID: 22730090
what address should I type in the IE URL?

this 1?

http://87.58.273.28:1164/eCommerce(3)/Default.aspx

or this 1?

http://87.58.273.28/eCommerce(3)/Default.aspx

by the way they both dont work....

0
 

Author Comment

by:RahnLev
ID: 22730099
what about port 80, I think this port is for browsing...
0
 
LVL 17

Expert Comment

by:houssam_ballout
ID: 22730110
what is the ip of your router?
0
 

Author Comment

by:RahnLev
ID: 22730377
87.68.165.76
0
 

Author Comment

by:RahnLev
ID: 22730388
0
 

Author Comment

by:RahnLev
ID: 22730396
0
 
LVL 17

Expert Comment

by:houssam_ballout
ID: 22730499
had you put the private IP, the IP of the machine that is having the application
0
 

Author Comment

by:RahnLev
ID: 22730690
like in the jpg Y 192.168.2.103.....
TCP +UDP  (in the picture "BOTH")
I put Port 1164 and range 50-80 caus I didnt know the bussiness with the internal 50 and the external 80 or the oppozite.
0
 
LVL 17

Expert Comment

by:houssam_ballout
ID: 22730734
inside the LAN, if you type 192.168.2.103 in any computer's browser,
will it work?
0
 

Author Comment

by:RahnLev
ID: 22730995
its not working in the internal network as well

I gave http://192.168.2.103/
and http://192.168.2.103:1164/
0
 

Author Comment

by:RahnLev
ID: 22735216
the model of my router is:

edimax....

br-6204wg
0
 
LVL 37

Accepted Solution

by:
bbao earned 500 total points
ID: 22737161
for publishing a common web server, you may just use Virtual Server option by giving the server type and internal server IP address.

for other particular applications, use Port Forwarding instead.

as per your screenshot, you may now use http://87.68.165.76 to access the web server, if the web site is running on the default port number TCP 80.

hope it helps,
bbao
0
 
LVL 37

Expert Comment

by:bbao
ID: 22737169
0
 

Author Comment

by:RahnLev
ID: 22740055
0
 

Author Comment

by:RahnLev
ID: 22740537
Do I do It right?
0
 

Author Comment

by:RahnLev
ID: 22740562
0
 

Author Closing Comment

by:RahnLev
ID: 31506557
one thing was missing....
TURN of the FIREWALL
0
 
LVL 37

Expert Comment

by:bbao
ID: 22747434
yes, it is right, if you mean you are sharing an internal web server at 192.168.2.206 on the internet.

be aware that you have another shared service on TCP 1164.

hope it helps,
bbao
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
website went down 6 55
2 Gateways (bandwidth) - One domain 7 73
Problem to router 7 53
How do I write a redirect rule for this scenario? 2 24
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question