Koozali.org: home of the SME Server

Please Help, Networking Problems

amicheals

Please Help, Networking Problems
« on: January 14, 2006, 05:53:57 AM »
Hello,
here is my setup.
1 netopia router with  four port connection
dsl service
2 apple g3's running OS 10.4 (tiger)
2 dell 500mhz celeron's ( will be running mepis linux desktop)

Dsl line is connected to the netopia router.  All computers are hard wired into the server including the SME box.  

SME server is configured in server-gateway mode.  
DHCP is configured to be handled by the router.  
5 static ip addresses from my isp.

The SME box has a separate static ip along with the two apples.

Problem.  When I try to access the server-manager from my local network or the internet my browser tells me it is unable to connect to the server.  When I try to connect through the Local network, tiger tells me I cannot connect to the server.  

Please help me.  Where am I going wrong.  How can I network this correctly.  Maybe someone can point me in the right direction.

Thanks
Amy :-?

Offline russs

  • ****
  • 77
  • +0/-0
Please Help, Networking Problems
« Reply #1 on: January 14, 2006, 04:45:30 PM »
Hi,
I'm afraid i'm no expert and am looking for some answers myself but I'll go through the basics as to how far I have got with it.

Obvious stuff  first,

Have you got the internal IP address configured correctly so internal/Lan PC's can reach it, i.e. if they are on 192.168.0.* then the internal address of the SME server also needs to be on a static 192.168.0.* range address too.
Like the above, in Server-Gateway mode mine works fine for internal users.
Have you also made sure that your router is pointing all required incoming services at the IP address of the SME server? In other words, on your router under incoming/allowed services, (or whatever yours uses), have you got say, 'http' pointing to the internal/external address of the SME box? Something like, 'point all HTTP queries at 192.168.0.4'  (The SME server address)
This set up should allow external users to see your webserver if only for web page use. You do not need to be in Server-Gateway mode for this to work, this works as 'Server only' with one NIC or at least it did for me!

My problem is allowing users out on to the internet using the Server-Gateway mode. I have my internal IP address working as above but cannot figure out how to set up my external address correctly.
I have static IP addresses available from my ISP but don't think I need to use them.
My router would also not allow me to put in any address to allow services to except the same range as my other PC's on the lan, i.e. I could not allow all traffic on HTTP to say, 81.128.232.4 it will only allow it to 192.168.0.* the same as my LAN. So I have my external address set as 192.168.0.4 and my internal one as 192.168.0.3.
As I say this allows users internally to see the server but will not allow them to use the SME server as an internet gateway.
I am using version 7.0 pre1 now.

Any ideas anybody? (If this all makes sense to you !)

Thanks
...

mackayr

Please Help, Networking Problems
« Reply #2 on: January 14, 2006, 09:11:51 PM »
First, I would ask why are you using separate static ip addresses within your lan?  The easiest way would be to have the router set with a static ip, and have each of the computers on the lan assigned one with dhcp (either from the router or SME).  If there are services on your local pcs that you want to access remotely, just forward the ports through the router.

Aside from that, here's how to get your static ips to access server-manager.  First, get to server-manager somehow, either use lynx on the server itself, or set up a pc to get dhcp assigned by sme and log in to server-manager from there.  Under security | remote access | remote management, add, in turn, each of your static ip's using 255.255.255.255 as the subnet mask.  Of course, you'll need to open necessary ports on your router to allow pass-through to the server from the internet.

Good luck!