aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/npf.conf1
-rw-r--r--etc/rc.conf1
-rw-r--r--usr/pkg/etc/vsftpd/vsftpd.conf15
3 files changed, 15 insertions, 2 deletions
diff --git a/etc/npf.conf b/etc/npf.conf
index 70729b0..595a06a 100644
--- a/etc/npf.conf
+++ b/etc/npf.conf
@@ -3,6 +3,7 @@ group default {
pass stateful on lo0 all
pass stateful out all
pass stateful in proto icmp all
+ pass stateful in from any to any port 21
pass stateful in from any to any port 22
pass stateful in from any to any port 80
pass stateful in from any to any port 443
diff --git a/etc/rc.conf b/etc/rc.conf
index e933092..0231edc 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -32,3 +32,4 @@ raidframe=NO
wscons=YES
apache=YES
umurmurd=YES
+vsftpd=YES
diff --git a/usr/pkg/etc/vsftpd/vsftpd.conf b/usr/pkg/etc/vsftpd/vsftpd.conf
index d089825..f9fcc0a 100644
--- a/usr/pkg/etc/vsftpd/vsftpd.conf
+++ b/usr/pkg/etc/vsftpd/vsftpd.conf
@@ -43,5 +43,16 @@ userlist_enable=YES
userlist_file=/usr/pkg/etc/vsftpd/userlist
userlist_deny=NO
-#log_ftp_protocol=YES
-
+log_ftp_protocol=YES
+vsftpd_log_file=/var/log/vsftpd.log
+dual_log_enable=YES
+
+ssl_enable=YES
+allow_anon_ssl=NO
+force_local_data_ssl=NO
+force_local_logins_ssl=NO
+ssl_tlsv1=YES
+ssl_sslv2=YES
+ssl_sslv3=YES
+rsa_cert_file=/usr/pkg/etc/vsftpd/vsftpd.crt
+rsa_private_key_file=/usr/pkg/etc/vsftpd/vsftpd.key