Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Orby on October 01, 2003, 03:00:02 AM

Title: Server only HTTP server behind DLS Router
Post by: Orby on October 01, 2003, 03:00:02 AM
Hello All,

I was wondering if anyone could comment / advise on the following ?

I have SME in server only mode behind a DSL router in the UK.

I want to use it purely as a web server and have created an IP Filter rule on my DSL router to forward any requests for http to the SME on my LAN.

I seem to be having a bit of trouble with this so as a test I fired up a small win http server on my laptop and that worked fine.

I am guessing that I would need to modify a custom template that allows public access to apache. I may even need to modify ipchains rules - although thats a bit of a guess ?

From these threads I tried :-

/sbin/e-smith/config show httpd-e-smith
 
httpd-e-smith=service
access=private
status=enabled
 
/sbin/e-smith/config setprop httpd-e-smith access public
/sbin/e-smith/signal-event remoteaccess-update

/sbin/e-smith/config show httpd-e-smith
 
httpd-e-smith=service
access=private
status=enabled

I then read some more and installed the port opening add on and opened TCP/UDP 80 which didnt change anything.

I then ran >

/sbin/e-smith/config setprop httpd-e-smith access public
/sbin/e-smith/config show httpd-e-smith

again and got >

httpd-e-smith=service
access=public
status=enabled

However this has not solved the problem. I can see the webpage from my LAN no problem and I know requests are coming through as I have installed IPTraf and I can see the external packets coming in but non are leaving.

Any help really appreciated !
Title: Re: Server only HTTP server behind DLS Router
Post by: Orby on October 01, 2003, 12:20:19 PM
BTW I am using this test :-

http://www.psi-rho.com/dsltools/index.php

As a check - I realise I cant see my WAN side from behind the router.


Thanks in advance for any advice
Title: Re: Server only HTTP server behind DLS Router
Post by: Orby on October 02, 2003, 06:43:07 PM
OK my fault !

In Server Only mode installation config there are two
places where you should enter the IP address of your
ADSL Router/ Firewall :-

1) Select Gateway IP address
2) Select Master DNS Server Address

I only filled in the first option with my Router IP
and left the second blank. After going back and
filling it out it worked first time.

Surfs Up :)
Title: Server only HTTP server behind DLS Router
Post by: Jason on February 20, 2004, 05:38:04 PM
Hi Orby,

I have the same problem liek you..Uses the test you given and it manage to locate my webpage..

Had tried to enter the Master DNS address (Router Gateway) at the server-manager -> configure server. However, when I http to the server-manager and I saw the DNS is still the SME IP address..Can you give me a description on how you get it done..Thanks in advance