Koozali.org: home of the SME Server

Network config help

WACOMalt

Network config help
« on: March 02, 2006, 03:20:52 AM »
ok, I have a pretty long, but probably easy to fix, problem. I got a temporary domain, http://wacomalt.no-ip.org which points to the external IP or my server, which will work for you, but not me. Now I can type in the internal IP of my server, and it will work (192.168.1.xx), but the external one will not. Not if Im inside my network.

now, where do I look to try and fix that? I was told by another forum to do the following
Quote
Okay basic idea:
1. Forward no-ip.org domain to your external IP
2. Forward web page request from the external request on port 80 to Apache running on local IP (127.0.0.1 likely)

If you have a router, you will need to configure the port routing. See your rotuer's docs for more info.

now with that can you guys point me exactly what to try? my router is just like any router, so I know how to open ports and add virtual servers and stuff.

thanks in advance, this is the last problem before I can finish and go public.

addodge

Network config help
« Reply #1 on: March 02, 2006, 04:40:23 AM »
Im not sure if you can do that.  I think its called spoofing and is normally blocked by any kind of server/router with half a brain.  Other than testing external connection to your website why wouldnt you just use the internal ip?

WACOMalt

Network config help
« Reply #2 on: March 02, 2006, 07:06:15 AM »
well, when I set up the domain for the forum, it will use that for everything, even if I access it via the internal IP address. so if I wanted to moderate my forum, Id have to leave my house...

or use a proxy to access the internet I suppose

Offline pfloor

  • *****
  • 889
  • +1/-0
Network config help
« Reply #3 on: March 02, 2006, 07:11:36 AM »
I have been running phpbb for years on a SME server/gateway and never had any of the problems you are posting about.  What EXACTLY is your network configuration?

Paul
In life, you must either "Push, Pull or Get out of the way!"

Offline dmac

  • ****
  • 143
  • +0/-0
    • http://www.rylar.ca
Network config help
« Reply #4 on: March 02, 2006, 02:46:42 PM »
Do you have the server in gateway/server mode?


Quote
Now I can type in the internal IP of my server, and it will work (192.168.1.xx), but the external one will not. Not if Im inside my network.

Are you trying to access the IP address or the Domain name?

If your accessing the Domain name then the behaviour your seening is expected.
When you send a request from your internal network to your web server, the DNS on the server will resolve that address to the local internal IP address.

When you set up the domain on the SME server, you shouldn't be giving it an IP address.  The DNS lookup on the internet will need that link between domain name and external IP.
"In a world without Fences, why do we need Gates and Windows"

WACOMalt

Network config help
« Reply #5 on: March 02, 2006, 03:46:47 PM »
Ther SME server is in server only mode, is this the problem?

My Network Configuration is as follows

Code: [Select]
      Cable Modem
           |
          HUB
    /      |     \
My PC    Server   another PC

The Hub is configured as follows:
I have it set so that all traffic for the external IP of the network, is sent to my server's internal IP, so outside traffic to the Ip > Hub > Directed to server

If anyone can talk to me in an instant messenger or email I will give out more information.  My hub is a pretty old one, but I know it supports what needs to be done, just the names for everything is weird, for example, port forewarding is called something else.. so its hard to find my way.

basically the onlything I need, is to be able to access my site, via http://www.wacomalt.com (my new domain name) from anywhere. right now it only works outside of my network. Inside, a blank page comes up. it doesnt time out or anything, just a blank page.

WACOMalt

Network config help
« Reply #6 on: March 02, 2006, 09:29:30 PM »
Quote from: "dmac"
Are you trying to access the IP address or the Domain name?

If your accessing the Domain name then the behaviour your seening is expected.


depends which IP you are talking about. inside my network, if I type 192.168.1.76 it works, outside I have to type 71.67.137.222 for the IP

inside, I can also type http://wacomalt01, outside I can type www.wacomalt.com

can someone please talk to me on an instant messenger?

my names are:
AIM: WACOMalt
YIM: WACOMalt
MSN: guru9898@woh.rr.com
Email: guru9898@woh.rr.com

heck, if you PM me Ill give my phone number, I really need help with this, detailed help.

thanks though for all who are trying to help me already

Offline pfloor

  • *****
  • 889
  • +1/-0
Network config help
« Reply #7 on: March 02, 2006, 09:34:50 PM »
Quote from: "WACOMalt"
Ther SME server is in server only mode, is this the problem?

My Network Configuration is as follows

Code: [Select]
      Cable Modem
           |
          HUB
    /      |     \
My PC    Server   another PC

The Hub is configured as follows:
I have it set so that all traffic for the external IP of the network, is sent to my server's internal IP, so outside traffic to the Ip > Hub > Directed to server

If anyone can talk to me in an instant messenger or email I will give out more information.  My hub is a pretty old one, but I know it supports what needs to be done, just the names for everything is weird, for example, port forewarding is called something else.. so its hard to find my way.

basically the onlything I need, is to be able to access my site, via http://www.wacomalt.com (my new domain name) from anywhere. right now it only works outside of my network. Inside, a blank page comes up. it doesnt time out or anything, just a blank page.


SHUT THE WHOLE THING DOWN RIGHT NOW!!!

You are exposing your server in server-only mode to the entire world.  This is not how it is entended to be set up.

Does you server have 2 nics in the server or do you own a router (or is what you are calling a hub really a router)?

Your problems are most likely due to the way you have it set up.  Here are 2 ways to go about it correctly:
Code: [Select]
      Cable Modem
           |
          SME Server (with 2 nics and in Server-Gateway mode)
    /      |     \
PC#1    PC#2   PC#3


OR

Code: [Select]
      Cable Modem
           |
          Router-Firewall
    /      |     \
PC#1    PC#2   SME Server (with 1 nic and in Server-Only mode)


In the second example, you must forward port 80 (and whatever other ports required) on the router to your SME server.

In either case, turn on the DHCP server in the Server and off on everything else.

Paul
In life, you must either "Push, Pull or Get out of the way!"

WACOMalt

Network config help
« Reply #8 on: March 02, 2006, 10:54:06 PM »
Ok, wow I feel like a moron, I made TWO mistakes, the second is much larger. First off, on my network I showed, it IS a gateway/firewall, not a Hub. And the big mistake, which makes this whole topic useless, is that I went into the configuration setting on my server, so see what I could have messed up, and the domain name was set to wacomalt.local

so I changed that to wacomalt.com, and lo and behold, I can get to my wacomalt.com ANYWHERE.

thank you all for the help, it at least got me to where I needed to go to find that mistake.

WACOMalt

Network config help
« Reply #9 on: March 03, 2006, 12:39:19 AM »
actually, now another question, can I have one of you see if my server is safe?

obviously ne of you realised something was unsecure, so if theres any way for you guys to try to "hack" my site.. please do

... dont actually hakc it, just see if its possible please.

WACOMalt

Network config help
« Reply #10 on: February 08, 2007, 04:25:06 PM »
I am reopening this thread as I am having a rehash of a similar problem (I think).

Since my last posts, I have moved, and with that so has my server. First let me give you a new diagram of my network setup:

Code: [Select]

INTERNET
      |
WIFI Router--->(wireless) ----> [Windows and OSX computers]
      |
      V
 (wired)
      |
      V
 [ SME SERVER (server-only mode) ]


OK, this is at an apartment. As you can see, we have a wireless network set up with out wireless router.

The SME server is directly wired to the Router.

Connecting wirelessly, we have a Macbook pro (with OSX and a bootcamped windows XP installation) we have another Macbook pro set up the exact same way. then we have my MAIN DESKTOP PC, which is running windows XP 64 bit edition.

the server is set up to use the Workgroup "HOME" and it does have access to the internet. Outside traffic as well as inside traffic can view my webpage at www.wacomalt.com. However, only the OSX machines can see the server in the network as far as file sharing goes.

I could manage over my OSX laptop, but all of my resources for the site are on my MAIN DESKTOP PC

I hope this explains my issue enough. I can give any extra info needed.

I searched the forums and couldn't find this issue.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Network config help
« Reply #11 on: February 08, 2007, 04:51:04 PM »
Quote
the server is set up to use the Workgroup "HOME"

What is the workgroup name on xp?
I had problems with lan on my xp computer and it happened because windows was set on mshome and SME was set on workgroup.
"It should just work" if it doesn't report it. Thanks!

WACOMalt

Network config help
« Reply #12 on: February 08, 2007, 06:29:43 PM »
Quote from: "bpivk"
Quote
the server is set up to use the Workgroup "HOME"

What is the workgroup name on xp?
I had problems with lan on my xp computer and it happened because windows was set on mshome and SME was set on workgroup.


The workgroup on my XP desktop is also "HOME"

rostons

XP Connecting to the network
« Reply #13 on: February 08, 2007, 09:18:26 PM »
I have sometimes found that even if you set XP to exactly the correct setting it still does not work. My solution which always work 4 me is to run the network setup wizard. It sounds stupid but it really works. After you re-boot you will probably find it magically connects.

Offline kruhm

  • *
  • 680
  • +0/-0
Network config help
« Reply #14 on: February 11, 2007, 02:22:54 PM »
You're problem is going to be with your DESKTOP as everything is setup fine. So, you need to be looking in that direction.

since this isn't a sme problem, you're not going to get much response.

don't forget the shutoff your firewall on the DESKTOP. It may be blocking all communication to other pc's.