Koozali.org: home of the SME Server

Can’t view web server from internet, help please

brit-dub

Can’t view web server from internet, help please
« on: December 09, 2005, 06:27:45 PM »
Hi

Setup as follows:

SME Server 6.0.1-01 server-gateway mode LAN nic 192.168.0.1 subnet 255.255.255.0 DHCP on / nic 2 static IP 10.0.0.2 subnet 255.255.255.0

Snort & acid (both working fine)

Dynamode (conexant) modem router IP 10.0.0.1 subnet 255.255.255.0 - dhcp off - port forwarding 80 to 10.0.0.2 I have also set DMZ to 10.0.0.2

Internet and mail is working, the local LAN is also working. I can see my web page on the local LAN http://192.168.0.1

But when I to look at my web page from the internet I get this response

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://xx.xx.xx.xx/

The following error was encountered:

Connection Failed
The system returned:

    (111) Connection refused
The remote host or network may be down. Please try the request again.

Your cache administrator is admin@xxx.co.uk.



--------------------------------------------------------------------------------
Generated Fri, 09 Dec 2005 16:54:32 GMT by server01.xxx.co.uk (Squid/2.4.STABLE6)

can anyone help me to view my web server from the internet please.

TIA

Janm

Can’t view web server from internet, help please
« Reply #1 on: December 10, 2005, 06:11:05 AM »
Try this
install the dist and afterwords i go in with mc

/etc/dhcpcd
and delete

dhcpcd-eth1.cache
dhcpcd-eth1.info
dhcpcd-eth1.info.old
dhcpcd-eth1.pid

Warning
Keep dhcpcd.exe

Maybe this work

And then i restart the computer and every things fine
I use 2 nic Server gateway mode
Jan denmark

brit-dub

Can’t view web server from internet, help please
« Reply #2 on: December 10, 2005, 11:51:01 AM »
thanks Janm

I went to /etc/dhcpcd

I could only find dhcpcd-eth1.info, I removed it and re-booted. but I still have the same problem.

I can see the web page on 192.168.0.1 and 10.0.0.2 but not via the web.

regards

Brit

Janm

Can’t view web server from internet, help please
« Reply #3 on: December 10, 2005, 11:55:23 AM »
hej
then try
/sbin/dhcpcd -R     enter

and se if thats help in a command line
jan

you ned thaese files

dhcpcd-eth1.info
dhcpcd-eth1.pid
dhcpcd-eth1.cache

and maybe shut down your adsl modem 5 min before you try
and turn it on again ofcourse

brit-dub

Can’t view web server from internet, help please
« Reply #4 on: December 10, 2005, 04:06:14 PM »
Sorry I'm still new to linux what does

/sbin/dhcpcd -R enter do ? I did a google but could not find any info on -R

anyway I have tried it, I used find / -name dhcpcd-eth1.cache and did this for all the files but could not find them.  

Brit

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Can’t view web server from internet, help please
« Reply #5 on: December 10, 2005, 05:48:59 PM »
Quote from: "Janm"
Try this
install the dist and afterwords i go in with mc

/etc/dhcpcd
and delete

dhcpcd-eth1.cache
dhcpcd-eth1.info
dhcpcd-eth1.info.old
dhcpcd-eth1.pid

Warning
Keep dhcpcd.exe

Maybe this work


That would only work if there is some bug in the server software which this process works around. Please report this as a bug. If you have some clues as to why the problem occurs, and why this procedure works around the problem, please add that to the bug report.

[Users shouldn't need to apply such workarounds - the software should "just work".]

Thanks.

Offline MSmith

  • *
  • 675
  • +0/-0
Can’t view web server from internet, help please
« Reply #6 on: December 11, 2005, 03:06:52 AM »
Are you sure your router is doing the portforwarding correctly?  What happens if you put another machine that's webserver-capable (i.e. not SME, maybe another distro on a test box) at 10.0.0.2?
...

Offline kruhm

  • *
  • 680
  • +0/-0
Can’t view web server from internet, help please
« Reply #7 on: December 12, 2005, 04:20:21 AM »
you have a misconfigured network setup. you shouldn't need to port forward anything.

if possible, set the modem on passthrough.
then set sme to aquire isp connection either through pptp (dsl) or dhcp (cable).