Re: webserver and natd

2009-09-03 Thread Odhiambo Washington
On Wed, Sep 2, 2009 at 1:02 AM, Razvan Cristea cristea.raz...@yahoo.comwrote:

 Hello,

 i have a webserver useing freebsd 7.2 and i user the same server to route
 internet to a local network.
 the internet on the local network is working fine but the sites from the
 webserver are loading verry slow.

 i fave this configuration in rc.conf:

 firewall_enable=YES
 firewall_type=open
 firewall_logging=YES
 gateway_enable=YES
 natd_enable=YES
 natd_interface=bce0

 Can you please help me?


The server needs to know itself either via local DNS or via /etc/hosts
So you may need entries in, say, /etc/hosts for every website running on it.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
  -- Lucky Dube
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: webserver and natd

2009-09-03 Thread Razvan Cristea
Solved.

It's a bug in version 7.2

info here: 
http://groups.google.com/group/muc.lists.freebsd.stable/browse_thread/thread/35f137a0e43b3175/d317dc58af6d4be2

Cu prietenie,
Razvan Cristea
=
http://www.adventube.ro
=

--- On Thu, 9/3/09, Odhiambo Washington odhia...@gmail.com wrote:

From: Odhiambo Washington odhia...@gmail.com
Subject: Re: webserver and natd
To: Razvan Cristea cristea.raz...@yahoo.com
Cc: freebsd-questions@freebsd.org
Date: Thursday, September 3, 2009, 1:07 PM



On Wed, Sep 2, 2009 at 1:02 AM, Razvan Cristea cristea.raz...@yahoo.com wrote:


Hello,

 

i have a webserver useing freebsd 7.2 and i user the same server to route 
internet to a local network.

the internet on the local network is working fine but the sites from the 
webserver are loading verry slow.

 

i fave this configuration in rc.conf:

 

firewall_enable=YES

firewall_type=open

firewall_logging=YES

gateway_enable=YES

natd_enable=YES

natd_interface=bce0

 

Can you please help me?
The server needs to know itself either via local DNS or via /etc/hosts
So you may need entries in, say, /etc/hosts for every website running on it.
 


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
If you have nothing good to say about someone, just shut up!.


               -- Lucky Dube






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


webserver and natd

2009-09-01 Thread Razvan Cristea
Hello,
 
i have a webserver useing freebsd 7.2 and i user the same server to route 
internet to a local network.
the internet on the local network is working fine but the sites from the 
webserver are loading verry slow.
 
i fave this configuration in rc.conf:
 
firewall_enable=YES
firewall_type=open
firewall_logging=YES
gateway_enable=YES
natd_enable=YES
natd_interface=bce0
 
Can you please help me?


Cu prietenie,
Razvan Cristea
=
http://www.adventube.ro
=


   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: webserver and natd

2009-09-01 Thread Steve Bertrand
Razvan Cristea wrote:
 Hello,
  
 i have a webserver useing freebsd 7.2 and i user the same server to route 
 internet to a local network.
 the internet on the local network is working fine but the sites from the 
 webserver are loading verry slow.
  
 i fave this configuration in rc.conf:
  
 firewall_enable=YES
 firewall_type=open
 firewall_logging=YES
 gateway_enable=YES
 natd_enable=YES
 natd_interface=bce0
  
 Can you please help me?

Do you have a proper DNS name set up for the IP that the web server is
running on?

How are you accessing the web server... by name or IP?

I'll assume that you are using Apache. What does the ServerName
directive say?

Steve


smime.p7s
Description: S/MIME Cryptographic Signature


Re: webserver and natd

2009-09-01 Thread Steve Bertrand
Razvan Cristea wrote:
 Razvan Cristea wrote:
  Hello,
  
  i have a webserver useing freebsd 7.2 and i user the same server
 to route internet to a local network.
  the internet on the local network is working fine but the sites
 from the webserver are loading verry slow.
  
  i fave this configuration in rc.conf:
  
  firewall_enable=YES
  firewall_type=open
  firewall_logging=YES
  gateway_enable=YES
  natd_enable=YES
  natd_interface=bce0
  
  Can you please help me?
 
 Do you have a proper DNS name set up for the IP that the web server is
 running on?
 
 How are you accessing the web server... by name or IP?
 
 I'll assume that you are using Apache. What does the ServerName
 directive say?

 The webserver works just fine when the firewall is not enabeled.
 But when i enabele any firewall the webserver seems to be overloaded
 or something and loads the pages verry slow.
 The problem is that natd is not working without firewall activated.
  
 i have apache (directadmin cpanel)

It's been years since I've needed to use NAT, so unfortunately, I can't
help here.

I'm sure someone else will speak up. If nothing comes up in the next
while, perhaps asking on -ipfw will help (but do not cross-post).

Steve


smime.p7s
Description: S/MIME Cryptographic Signature