Port 80 Conflict

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
Edzo1
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sat Feb 14, 2009 5:16 pm
Location: Scituate, MA USA
Contact:

Port 80 Conflict

Post by Edzo1 »

Hi - In addition to Meteohub running in my LAN, I also have a Seagate Mirra Backup Server running, that can be accessed from the internet and also uses port 80. Until I can figure out how to configure things, I have turned off the Mirra server.

My router/gateway is a Motorola SBG900. Currently, I have forwarded ports 22, 80, and 7777 to the IP address of my Meteohub, which is running smoothly, and can be accessed remotely.

Q - how do I reconfigure my router and Meteohub so that both Meteohub and my backup server can peacefully coexist?

I know that Boris addresses some of this in the User Guide/Section 1.3/Internet Access/Bullet #2, and I've seen a couple of related threads, but my knowledge of networking, port forwarding, internal/external ports is limited. I've seen a lot mentioned about using port 7777 instead (but Boris doesn't recommend this), ports 8080 or variations, and talk about forwarding a port to another port?

Can anyone provide a simple solution, giving specific steps and providing examples of ip addresses and ports for both the router and Meteohub? I can't really tell if my router will let me forward a port to another port. There's a "Port Trigger" option too but I'm not sure if that is applicable in this case.

Any help would be much appreciated. Thanks!
P3R
Senior Boarder
Senior Boarder
Posts: 70
Joined: Tue Nov 25, 2008 7:12 pm
Location: Stockholm, Sweden

Re:Port 80 Conflict

Post by P3R »

As far as I can find out from the manual of your modem/gateway it is capable of port forwarding but unfortunately not port redirection (also called port translation). Maybe the following could explain the difference between these functions.

Port forwarding:
outside address:80 >Router> inside address:80
Port redirection:
outside address:54321 (or any port number you choose) >Router> inside address:80

With a router that supports both of these functions you could concurrently use port forwarding for your Meteohub and port redirection to your backup server, or port redirection to both of them.

My advice would be to replace your modem/gateway with one that support port redirection as well. If that's not possible (perhaps your ISP doesn't allow it?) simply add a router with port redirection possibility on the inside of the current box. In that case accessing your backup server would work like this:
outside address:54321 >Motorola> inside address:54321 >new router> different inside address:80

Port triggering means having outside ports opened dynamicly, initiated by other traffic from inside hosts. It is necessary for some applications but not used by most users. I don't see that helping you either.
Edzo1
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sat Feb 14, 2009 5:16 pm
Location: Scituate, MA USA
Contact:

Re:Port 80 Conflict

Post by Edzo1 »

P3R, thank you for the feedback and thanks for digging into the SBG900 user manual. I originally opted for the SBG900 to keep things simple because it combined a modem with a router but, as you mentioned, it appears to lack the port translation feature.

I'm afraid with my limited knowledge of networking, I'm having a tough time understanding your examples. I realize this is a crazy request but can you or anyone sketch out a simple diagram with the various parts and their respective hypethetical ip addresses and port #s and indicating the flow of data (ie. inbound/outbound or internal/external), and attach the file to see. This would be a big help to me and hopefully others with similar issues or questions.

Are there any suggestions or recommendations for a replacement modem/gateway with port translation, or if I keep the SBG900, a similar recommendation for adding a router?

P3R and others, thanks again for any assistance.
P3R
Senior Boarder
Senior Boarder
Posts: 70
Joined: Tue Nov 25, 2008 7:12 pm
Location: Stockholm, Sweden

Re:Port 80 Conflict

Post by P3R »

In all my examples, written in italics, the outside (internet/ISP-connection) is on the far left and your internal network (with Meteohub and backup server) is on the right. All the figures that you see are actual port numbers on the outside and inside networks respectively of the network devices (modem/router/gateway). 54321 is only an example of a port, and when configuring a port translating router that number can be replaced with your own choice. Preferably it should be from 49152 through 65535.

If the outside IP address (assigned to you by your ISP) is X.X.X.X (example that should be replaced with your actual address) you should write the following in your internet browser's address field to access it from somewhere else: X.X.X.X:54321

Following my port redirection examples from left to right hopefully then you can see how the port number 54321 is translated to port 80, which is the standard port number for regular www/http-traffic.

I'm sorry but presently I really don't have the time to respond to your wish for a diagram but if necessary maybe someone else can help you out more ...
Edzo1
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sat Feb 14, 2009 5:16 pm
Location: Scituate, MA USA
Contact:

Re:Port 80 Conflict

Post by Edzo1 »

thank you for the response,

Ed
Post Reply