Cant figure this one out. Port forward of http 8181 to inside server port 80. Actiontec MI424WR
wyatt8
Newbie

I have an Actiontec MI424WR and have 2 servers nn1 and nn2 running IIS and Apache.

Here is what I have being forwarded currently which works fine outside and behind router.

192.168.nnn.nn1  HTTP - TCP Any -> 80

192.168.nnn.nn2  HTTP Secondary - TCP Any -> 8080

I need to add something like (ie. forward 8181 to 80) so i can do http://mysite.com:8181 to website page on 192.168.nnn.nn2:80

e.g. some like this

192.168.nnn.nn2     HTTP Third- TCP forward 8181 to 80

How do I specify this in the router? I tried several things (like 8181->80) and nothing works.

I tested behind the router and it works fine: http://192.168.nnn.nn2:80 so no problem here.

Any suggestions would be appreciated

0 Likes
Re: Cant figure this one out. Port forward of http 8181 to inside server port 80. Actiontec MI424WR
pamcphilly
Enthusiast - Level 3

The TCP Any setting is the source port.  During a TCP/IP communication there is a source port and a destination port.  For instance in a browser getting a web page from a web server the browser will make a request over a random port to a specific destionation port.   So your first set of rules is saying that any connection from any port destined for port 80 would go to 192.168.nnn.nn1.  You last rule is saying that any source port that is destined for port 80 to be forward to 192.168.nnn.nn2.  You are kind of looking for something like any source port destined for port 8181 be redirected to port 80.  I am not sure the provided routers can do that.

0 Likes
Re: Cant figure this one out. Port forward of http 8181 to inside server port 80. Actiontec MI424WR
wyatt8
Newbie

Yes, I am looking for port 8181 to be redirected to port 80 of nn2. I cant imagine this router not having such capability. Why do they even bother specifying source and destination in the rule making?

Could it be I have to setup 2 rules on the same path?  ie. Any->8181  and 8181->80?

0 Likes
Re: Cant figure this one out. Port forward of http 8181 to inside server port 80. Actiontec MI424WR
pamcphilly
Enthusiast - Level 3

A lot of basic routers don't have that functionality.  I have a linksys and a netgear router as well as the verizon actiontec router and none of those have that functionality.  They just have basic destination port forwarding from the WAN to LAN and do not let you pick an alternate destination port.  I have worked on numerous business class routers and they do have that type of functionality.

I don't think setting up 2 rules would work because the Any->8181 would have already forwarded the LAN address and the second rule wouldn't apply.

Allowing a user to pick the source port is really more for know applications that control the socket and always use the same port.

0 Likes
Re: Cant figure this one out. Port forward of http 8181 to inside server port 80. Actiontec MI424WR
viafax999
Community Leader
Community Leader

@wyatt wrote:

I have an Actiontec MI424WR and have 2 servers nn1 and nn2 running IIS and Apache.

Here is what I have being forwarded currently which works fine outside and behind router.

192.168.nnn.nn1  HTTP - TCP Any -> 80

192.168.nnn.nn2  HTTP Secondary - TCP Any -> 8080

I need to add something like (ie. forward 8181 to 80) so i can do http://mysite.com:8181 to website page on 192.168.nnn.nn2:80

e.g. some like this

192.168.nnn.nn2     HTTP Third- TCP forward 8181 to 80

How do I specify this in the router? I tried several things (like 8181->80) and nothing works.

I tested behind the router and it works fine: http://192.168.nnn.nn2:80 so no problem here.

Any suggestions would be appreciated


Why don't you just add a web site on port 8181 on 192.168.nnn.nn2 and then change your port forwarding to tcpany to 8181

then build a link from website 8181 to website 80

0 Likes
Re: Cant figure this one out. Port forward of http 8181 to inside server port 80. Actiontec MI424WR
dslr595148
Community Leader
Community Leader

To the OP (person who started this thread: I point to http://forums.verizon.com/t5/FiOS-Internet/Another-router-with-port-forwarding-problems/td-p/134538

#1 First start by looking at their screen shot.

It looks like you do not have to forward "same as incomming".

#2 After looking at the screen shot: Read the rest of text of the thread.

0 Likes
Re: Cant figure this one out. Port forward of http 8181 to inside server port 80. Actiontec MI424WR
viafax999
Community Leader
Community Leader

@viafax999 wrote:
Why don't you just add a web site on port 8181 on 192.168.nnn.nn2 and then change your port forwarding to tcpany to 8181

then build a link from website 8181 to website 80


Even easier, after adding the web site change the home directory to be a redirection to a url and make the url

http:191.168.nnn.nn2:80

0 Likes
Re: Cant figure this one out. Port forward of http 8181 to inside server port 80. Actiontec MI424WR
pamcphilly
Enthusiast - Level 3

Since you said you have Apache installed, you can look at it's reverse proxy module and just have all requests go through the one web server.

0 Likes