Koozali.org: home of the SME Server

Port Forwarding - HELP

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
Port Forwarding - HELP
« on: October 12, 2004, 04:19:19 AM »
First time using port forwarding in SME 6.0

My SME Server is 10.0.0.4 in Gateway mode -  I have an app running on port 81 on a windows server at 10.0.0.1.  

Here's my port forwarding..
Protocol     Source Port(s)     Destination Host IP Address     Destination Port(s)     Action
TCP    81    10.0.0.1    81    Remove
UDP    81    10.0.0.1    81    Remove

The app works fine on any internal network PC.
Accessing from the internet, it doesn't work at all

I can access my SME web server just fine from the internet - so I'm positive it isn't any interenet routing issue.

Does the SME box need a reboot after changing the forwarding rules?
Does SME use IPChains or IPTables?
I installed (sme-6.0-masq-manager-0.1-2.noarch.rpm) and (dmc-mitel-portopening-0.0.1-4.noarch.rpm) -- neither helped me get any further


Ideas?

Offline funkusmunkus

  • *
  • 220
  • +0/-0
Port Forwarding - HELP
« Reply #1 on: October 12, 2004, 04:33:18 AM »
I'm not really an expert but some pointers :-) first of all the server shouldn't have to restart after using portforwarding, second thing is sme uses iptables.

does the protocal your using need tcp and udp ??
once i had something happen like that and i think it was mainly due to using both tcp and udp on the same port, but it could have only been me :-)

try removing udp and and see how you go.

oh yeah you haven't over looked forwarding the port on an external router ;-)
.........

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
Thanks
« Reply #2 on: October 12, 2004, 04:44:20 AM »
Thanks for the reply

The SME box is connected to a "live" internet connection -- no external router - just the DSL modem - so all ports should be active.

I only need the TCP I believe -- I just added the UDP to  see if that would help it work.

Any more suggestions?

- chris

RavenIV

Port Forwarding - HELP
« Reply #3 on: October 13, 2004, 12:03:34 AM »
did you open the port or did you only forward it?

cheers

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
Port Forwarding - HELP
« Reply #4 on: October 13, 2004, 12:10:08 AM »
Raven,

I used the dmc-mitel-portopening-0.0.1-4.noarch.rpm to open port 81 for both TCP & UDP.

Chris

RavenIV

Port Forwarding - HELP
« Reply #5 on: October 13, 2004, 12:16:18 AM »
is it a win2000 or a win2003 server?
if yes, maybe you have to change the activeDirectory settings.
or is there a firewall on the server?

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
Server
« Reply #6 on: October 13, 2004, 12:37:35 AM »
It's win2000  -- and it works just fine if I hit the machine from another PC inside the network - so I think that would rule out firewall

Chris

RavenIV

Port Forwarding - HELP
« Reply #7 on: October 13, 2004, 02:53:38 AM »
can you connect from your SME to the win-server on port 81?
for exymple "telnet 10.10.10.1 81"

cheers

Offline eiceic

  • ****
  • 118
  • +0/-0
    • http://www.eicsoftware.com
PROBLEM SOLVED!!!
« Reply #8 on: October 13, 2004, 03:48:16 AM »
Well, we just bumped into the solution by accident..

We have a class A 10. network (subnet 255.0.0.0) -- the windows server on 10.0.0.1 had a 255.255.255.0 subnet -- changed that and all worked..  

Thanks for your help.

Chris

RavenIV

Port Forwarding - HELP
« Reply #9 on: October 13, 2004, 04:21:26 AM »
by the way:
normally you give the router or gateway (your SME) the IP-adress x.x.x.1.
and the other servers get x.x.x.2 - x.x.x.99.
the clients will then have x.x.x.100 - x.x.x.254.

cheers