| Subcribe via RSS

Restrict file type with vsftpd

September 4th, 2011 | No Comments | Posted in FTP, Linux, network

vsftpd have an option to restrict file type(s) for upload/download.  That vsftpd option is deny_file.  For example, to restrict file *.mp3 and *.avi, use this in vsftpd configuration file:

deny_file={*.mp3,*.avi}

If we put the option in vsftpd.conf, it will be applied to all vsftpd users.  In virtual users configuration, we can put the option in specific user configuration file, so only selected user will be affected by the configuration.

Tags: ,

Installing and Configuring OpenVPN Server on CentOS using Webmin (part 4)

September 4th, 2011 | No Comments | Posted in Linux, Security, network

Configuring pfSense as OpenVPN client for site-to-site VPN

In this section, we will discuss the client side of OpenVPN site-to-site configuration. At the client side, I use pfSense as the firewall, webproxy, and VPN gateway to connect to the HO through site-to-site VPN with OpenVPN server. More »

Tags: ,

Installing and Configuring OpenVPN Server on CentOS using Webmin (part 3)

July 17th, 2011 | No Comments | Posted in Linux, Security, Windows

OpenVPN Configuration
Here are the steps to configure OpenVPN using Webmin:

1. Create Certification Authority
To create the Certification Authority, go to Server -> OpenVPN + CA, click on Certification Authority List. More »

Tags: , , ,

Installing and Configuring OpenVPN Server on CentOS using Webmin (part 2)

July 12th, 2011 | No Comments | Posted in Linux, Security, Windows

Installing OpenVPN Server
In my configuration, I use CentOS 5.3 with 1 CPU 2.8 GHz, 2 GB RAM, 40 GB HD, and one NIC as the server.  To make it easier when installing OpenVPN, I use RPMForge repository. First I need to download rpmforge release package then install it. More »

Tags: , , ,

Installing and Configuring OpenVPN Server on CentOS using Webmin (part 1)

July 12th, 2011 | No Comments | Posted in Linux, Security, Windows

Our company have several branches and mobile users that need to access data in the head office. I need to provide VPN access for them. I want a solution for site-to-site VPN that is cost effective, stable, easy to use and configure with Graphical User Interface. After exploring the documentation in the net, I find the solution for my need. I use OpenVPN with Webmin running on CentOS server in the head office side. As for the branches side, I choose pfSense. And for the mobile users, I use OpenVPN client for Windows. More »

Tags: , , ,

Frequently Used Zimbra CLI

June 29th, 2009 | 6 Comments | Posted in Linux, Mail server

zimbraThe Zimbra administration console is usually used as the mail tool for configuring and maintaining Zimbra.  But actually, some Zimbra function can only be changed using the Command Line Interface (CLI) utility. More »

Tags: ,

Redirect HTTP to HTTPS in Zimbra

April 14th, 2009 | 1 Comment | Posted in Linux, Mail server

In Zimbra we have the options to log on using HTTP or HTTPS.
Using zmtlsctl command, we can set the Web server mode to the communication protocol options: More »

Tags: ,

Automated Backup via Rsync, Tar and SCP

January 22nd, 2009 | 1 Comment | Posted in Backup & Restore, Linux

In the previous article, I have discussed about synchronizing data with rync. In this article I will continue the topic to a new discussion: how to use rsync for automated backup. More »

Tags: , ,

Releasing quarantined emails in Zimbra

January 8th, 2009 | No Comments | Posted in Linux, Mail server

The antivirus/antispam features in Zimbra have the ability to quarantine emails that match their criteria. We can access the quarantined emails directly in the /opt/zimbra/amavisd/quarantine folder of the file system. More »

Synchronizing Data with Rsync

January 5th, 2009 | No Comments | Posted in Backup & Restore, Linux

Rsync is a useful tool that allows files and directory to be copied either to or from a remote host, or locally on the current host. It is a faster and flexible replacement for rcp. More »

Tags: ,



  • ShoutMix chat widget