Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: vedad on December 31, 2009, 12:07:54 PM
-
HI all,
I am new user of SME Server and have one problem. Firs to note that I am using it in a "Server only" mode.
I have two networks in my company. One network (let's call it LAN1) has a gateway to Internet and the other (LAN2) has a proxy (port 8080) which regulates who can go outside (trough gateway on LAN1) and what he can access.
My SME Server is connected to LAN2, so it doesn't have a direct access (gateway) to the Internet.
The only thing I want to access outside my LAN2 with SME Server is Antivirus update website.
How can I configure this on the SME?
Thank you all in advance.
Cheers,
Vedad
-
Hi Vedad, welcome here
open a shell as root and give
config setprop clamav HTTPProxyServer your_proxy_ip
config setprop clamav HTTPProxyPort your_proxy_port
expand-template /etc/freshclam.conf
runsvctrl t /service/freshclam
it should do the trick
HTH
-
Hi Stefano,
thanks a lot for your quick response. I tried your suggestion and first three commands worked smoothly. The third one "runsvctrl" said that the command does not exist. As I said I am new with this and have no idea what this one does and what is the problem.
Another thing, I said my antivirus definition to be updated daily. Now I want to update it manually by force. Is there a command to do this?
Thanks again,
Vedad
-
thanks a lot for your quick response. I tried your suggestion and first three commands worked smoothly. The third one "runsvctrl" said that the command does not exist. As I said I am new with this and have no idea what this one does and what is the problem.
well, try
service freshclam restart
Another thing, I said my antivirus definition to be updated daily. Now I want to update it manually by force. Is there a command to do this?
well, simply call
freshclam
HTH