![]() |
|
|||
![]()
Hello, at work, we have openbsd 4.3 with pf and 2 network cards. Openbsd machine is configured as a gateway for our network (it provides internet to us).
I wish to add an antivirus (like clamav or others) on openbsd machine and so have an antivirus gateway. How can i do that ? I need to modify my pf.conf ? |
|
|||
![]()
Are you running email and a proxy (squid) on the gateway?
|
|
|||
![]() Quote:
I use OpenBSD's spamd, Amavisd-New , SpamAssassin, ClamAV , DCC and Razor.. You will need to modify your pf.conf for spamd but if you look in the default (installed) pf.conf ,the settings are there.. - There are a few more steps / tweaks but not difficult.. Spamd is well documented but if you want I can post my setup.. For the others, this what I followed /used.. it is a bit older and you need to make a few minor changes.. http://www.kernel-panic.it/openbsd/mail/mail6.html Note: I used the package system for this and found there are 3 items not included in the package system - freeze - unarj - unrar These will need to be installed from ports... Note2: This also uses Postfix as the MTA - not Sendmail... DCC and Razor I also added DCC and Razor using this: DCC Link http://flakshack.com/anti-spam/wiki/...Installing+DCC Razor Link http://flakshack.com/anti-spam/wiki/...stalling+Razor These links are also older but the instructions still apply.. I did this on a test box first because getting amavisd-new configured took a bit of time.. My Steps - Installed freeze , unarj and unrar through ports - Installed amavisd-new through packages (this pulls in spamassasin and clamav IIRC. - Once I was receiving email and sending email without issue (check your maillogs for errors... big help as to what is going on..) - After I was happy with system - I then added DCC and Razor Note: DCC and Razor are "activated" through SpamAssassin.. I had some trouble figuring where to enable them.. It is /etc/mail/spamassassin/v310.pre hth rk Final Note: After all this discussion with me and myself I will probably write a Guide on this as to not have to remember all the steps... Give this a shot first.. if you are comfortable on the command line and do... take some time reading before the "cut and paste" it sure does help.. - I can't stress this enough... your maillog will really help you debug any problems you have..
__________________
All posts sent on ReCycled Electrons... Last edited by roundkat; 13th September 2008 at 11:54 AM. |
|
|||
![]()
thank's for yours answers !! very good !! i will test the squid config with clamav ...
|
|
|||
![]() Quote:
Let us know how you make out.. rk
__________________
All posts sent on ReCycled Electrons... |
|
||||
![]() Quote:
I already have Squid running here... so is that a plug in to install??
__________________
She sells C shells by the seashore. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Another gateway box question | windependence | FreeBSD General | 3 | 11th November 2008 09:15 PM |
FreeBSD Gateway | tad1214 | FreeBSD Ports and Packages | 4 | 11th July 2008 05:31 AM |
Error 504 gateway timeout | bsdbsd | FreeBSD General | 0 | 15th June 2008 01:06 PM |
Problem at the install with a pc gateway | mastersabin | FreeBSD Installation and Upgrading | 1 | 4th June 2008 07:47 PM |
Dual WAN gateway. | LordZ | OpenBSD Security | 2 | 2nd June 2008 09:00 AM |