Koozali.org: home of the SME Server

Port forwarding

Gary Kenny

Port forwarding
« on: February 25, 2003, 08:10:24 AM »
Hi,

I am trying to enable portforwarding on SME 5.6 to redirect HTTP traffic to a server that is within the network behind SME.

I have installed the following pacages and enabled port forwarding on port 80 providing the ip address of the webserver:
e-smith-packetfilter-1.13.0-04
e-smith-portforwarding-0.1.0-20

However, I do not see the contents of the pages on the webserver. Instead, I see the SME default page.

What am I doing wrong? How can I check current settings to ensure everything is running fine?

Any help is gratefully received.

Kind regards,

Gary Kenny

Bill Talcott

Re: Port forwarding
« Reply #1 on: February 25, 2003, 04:47:35 PM »
Apache listens on port 80 by default. That may be interfering with port forwarding... Have you tried forwarding a different port for testing purposes?

Gary Kenny

Re: Port forwarding
« Reply #2 on: February 25, 2003, 11:23:54 PM »
Hi Bill,

I thing you are right! I set up port forwarding for an alternative port and sent http requests through that. Up came the page on the other server!

How do I cause Apache not to listen on port 80? I have tried 'service httpd stop' and 'service httpd-e-smith stop' and the SME default page still shows. Unless this is cached...

Thanks for your help (on this and other threads!).

Cheers,

Gary

Bill Talcott

Re: Port forwarding
« Reply #3 on: February 26, 2003, 08:50:39 PM »

Dan Brown

Re: Port forwarding
« Reply #4 on: February 26, 2003, 09:51:05 PM »
No, Bill, that HOWTO won't work on SME 5.6.  I haven't had time or interest to update it for post-5.1.2, when Mitel changed the template structure.

Bill Talcott

Re: Port forwarding
« Reply #5 on: February 26, 2003, 11:40:34 PM »
Doh, didn't even consider that. It might at least get him going in the right direction...

Gary Kenny

Re: Port forwarding
« Reply #6 on: February 27, 2003, 01:18:09 AM »
Hi,

My answer at this stage is to map traffic on port 80 at the router to port 1080. Using portforwarding on the SME server, I map port 1080 to port 80 on the Web Server.

This is not my ideal solution as I would like to be able to may all traffic to the router directly to SME - as is.

This is a learning process for me so excuse me if it seems like I ignore advice.

Many thanks,

Gary