diff options
author | John Ankarström <john@ankarstrom.se> | 2021-10-20 10:57:17 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-10-20 10:57:17 +0200 |
commit | 3ec9ba08521f64bcec2137e5e48f648017d5eb5d (patch) | |
tree | d1acdd532c3130a70c8ac30eb14afd4fb648604e | |
parent | a6dc42a009a6f1bb467a78422ef52698ef198828 (diff) | |
download | rbsd-master.tar.gz |
-rw-r--r-- | etc/npf.conf | 1 | ||||
-rw-r--r-- | etc/rc.conf | 1 | ||||
-rw-r--r-- | usr/pkg/etc/vsftpd/vsftpd.conf | 15 |
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 |