Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: steever on May 11, 2009, 02:00:34 AM

Title: Server Only, No Internet Access
Post by: steever on May 11, 2009, 02:00:34 AM
Hi.  I run SME Server as a webserver in server only mode behind an IPCOP firewall.  I have configured the SME server to use IPCOP as its upstream proxy with the correct port as per the wiki, but it can't seem to get out to the Internet.  It's on the green network (if you have any experience with IPCOP), and other clients on the same network have no trouble connecting.  Any advice?  I don't think this is a bug, just something I have done wrongly ....
Title: Re: Server Only, No Internet Access
Post by: CharlieBrady on May 11, 2009, 04:33:34 AM
Check you have the correct default gateway configured.
Title: Re: Server Only, No Internet Access
Post by: steever on May 11, 2009, 04:42:11 AM
Thanks Charlie.  The gateway is configured OK.  Running the Internet check from the admin console results in an OK, and I can ping external from the server, but I can't run wget or yum -  I get error 256 and urlopen error 111.

Do you have any idea what I am doing wrong?

Thanks in advance.

Steve
Title: Re: Server Only, No Internet Access
Post by: steever on May 11, 2009, 05:03:29 AM
Fixed ...

Quote
hi

it should be

    * mkdir /etc/e-smith/templates-custom/etc/yum.conf
    * pico -w /etc/e-smith/templates-custom/etc/yum.conf/10main_proxy
    * type proxy=http://xxx.xxx.xxx.xxx:Port
    * Ctrl o Ctrl x
    * expand-template /etc/yum.conf


BTW, using the same proxy setup in the main sme configuration doesn't do the job?
could you please make a test?

TIA
Stefano

But it's a bug, as I set the proxy and port through the proper commands and they don't work for yum.  I'll post a bug.

Steve