Koozali.org: home of the SME Server

How-to: Open and Forward Port

Bjarni

How-to: Open and Forward Port
« on: March 21, 2002, 08:10:05 PM »
I know that this topic has been around before :o)

But anyway; I can't get it working!

I am using SME V5.1.2

I installed dmc-mitel-portforwarding-0.0.1-4.noarch.rpm

I got a Port Forwarding item in my Web-Server-Manager

I want to redirect incomming Port 8080 to my iis on my local-PC: 172.16.1.9

So I creates two new port forwading entries in the Web-interface

Protocol: TCP
Ext Port: 8080
Dest IP Address: 172.16.1.9
Dest Port: 80

and

Protocol: UDP
Ext Port: 8080
Dest IP Address: 172.16.1.9
Dest Port: 80

It shows up in the Web-table

I reboot

I try to connect from another local-PC (172.16.1.7) with the following URL:

//212.xxx.xxx.xxx:8080/

(212.xxx.xxx.xxx is my internet-address from outside)

The browser times out :o(

I can see URL: //212.xxx.xxx.xxx/ from the same local PC

What am I doing wrong?

/bjarni

Steve

Re: How-to: Open and Forward Port
« Reply #1 on: March 21, 2002, 09:49:06 PM »
Try from a machine outside.

Port forwarding usually only works from the out side in. The routing process in the server will not usually allow this.

You would think that the call would go out and back in again... but it won't.

This is usually true for most routers too..

Bjarni

Re: How-to: Open and Forward Port
« Reply #2 on: March 21, 2002, 11:14:26 PM »
I had a fried try from a machine  outside.

Same result :o( Nothing shows up.

Can it be because my IP from outside (212.10.110.86) not is the same as the IP on the Netcard, which is attache to my cable modem (192.168.174.86). I think that my ISP makes a IP-forward from 212.10.110.86 -> 192.168.174.86.

Before I installed the SME-server I had a SCO-OpenServer 6 unix-box running as firewall etc.

On that unix-box I used 'ipfilter' and 'ipnat' to handle Port forwarding to my iis, and it worked fine. I could also see my iis from inside - using my outside address.

You could then ask why, I droped my unix-box. It was because I had some problems with my mail system and I have had some problems getting support.

How can I check if port 8080 i open from outside?

Is there a command to view the port settings / forwardings?

Do you have any other hints?

/bjarni

John

Re: How-to: Open and Forward Port
« Reply #3 on: March 23, 2002, 06:08:58 PM »
I just pointed my browser to 212.10.110.86 and got an "under construction" page.  Then I point to 212.10.110.86:8080/ and I get an NT server page.  Looks funtional to me....  Good work!