| 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: ,

Setup time synchronization on HP Procurve switches

August 7th, 2011 | No Comments | Posted in Switch, network

By default, when an HP Procurve switch reboot, the switch time will revert to 1 Jan 1990 at 00:00:00. Some time, inaccurate time setting brings difficulties when we need to look at the log at a specific time. Manual time adjustments are not saved on HP Procurve switches after reboot. The solution is to setup time synchronization to a time (NTP) server. More »

Tags: , , ,



  • ShoutMix chat widget