• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 772
  • Last Modified:

Urgent

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
RahnLev
Asked:
RahnLev
  • 16
  • 8
  • 3
1 Solution
 
houssam_balloutCommented:
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
 
RahnLevAuthor Commented:
I dont know wre to add this line...
0
 
houssam_balloutCommented:
what server do you have or router?
0
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
RahnLevAuthor Commented:
router edimax
0
 
houssam_balloutCommented:
is there an  option to create port forwarding
does that router have a real ip on it>
0
 
RahnLevAuthor Commented:
yes there is an option for port forwading.
yes it has.... reall as a regular IP from the provider.
0
 
houssam_balloutCommented:
to create a port forwarding rule, on port 4444 for example
and redirect the ip to the ip where the application is installed.
0
 
RahnLevAuthor Commented:
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
 
houssam_balloutCommented:
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
 
RahnLevAuthor Commented:
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
 
RahnLevAuthor Commented:
what about port 80, I think this port is for browsing...
0
 
houssam_balloutCommented:
what is the ip of your router?
0
 
RahnLevAuthor Commented:
87.68.165.76
0
 
RahnLevAuthor Commented:
0
 
RahnLevAuthor Commented:
0
 
houssam_balloutCommented:
had you put the private IP, the IP of the machine that is having the application
0
 
RahnLevAuthor Commented:
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
 
houssam_balloutCommented:
inside the LAN, if you type 192.168.2.103 in any computer's browser,
will it work?
0
 
RahnLevAuthor Commented:
its not working in the internal network as well

I gave http://192.168.2.103/
and http://192.168.2.103:1164/
0
 
RahnLevAuthor Commented:
the model of my router is:

edimax....

br-6204wg
0
 
bbaoIT ConsultantCommented:
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
 
bbaoIT ConsultantCommented:
0
 
RahnLevAuthor Commented:
0
 
RahnLevAuthor Commented:
Do I do It right?
0
 
RahnLevAuthor Commented:
0
 
RahnLevAuthor Commented:
one thing was missing....
TURN of the FIREWALL
0
 
bbaoIT ConsultantCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 16
  • 8
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now