1.默认配置 根据默认配置给出中文注释 # Example config file /etc/vsftpd.conf## The default compiled in settings are fairly paranoid. This sample file# loosens things up ...
分类:
其他好文 时间:
2020-06-14 16:48:06
阅读次数:
68
(1)安装vsftpd sudo apt-get install vsftpd (2)验证是否安装成功 sudo netstat -anp | grep vsftpd (3)通过Notepad++测试连接 (4)其他命令 sudo service vsftpd stop sudo service v ...
分类:
系统相关 时间:
2020-06-13 17:43:07
阅读次数:
92
1、关闭所有的 INPUT FORWARD OUTPUT 只对某些端口开放。下面是命令实现: iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP 再用命令 iptables -L -n 查看 是否设置好, 好 ...
分类:
系统相关 时间:
2020-06-11 16:23:13
阅读次数:
60
1.iptables简介 netfilter/iptables(简称为iptables)组成Linux平台下的包过滤防火墙,与大多数的Linux软件一样,这个包过滤防火墙是免费的,它可以代替昂贵的商业防火墙解决方案。 1.1 netfilter和iptables的区别 netfilter:指的是Li ...
分类:
其他好文 时间:
2020-06-11 01:04:20
阅读次数:
80
项目里有个远程升级的需求,需要用到ftp服务器,Linux下搭建麻烦,所以采用docker,后期直接考就行,搞这个也是踩了半天的坑,特来记录下爬坑的过程 1.docker拉取ftp镜像 docker pull fauria/vsftpd 2.启动ftp服务器 启动ftp服务器docker run - ...
分类:
系统相关 时间:
2020-06-09 18:19:47
阅读次数:
106
让vsftpd支持SSL 必须让OPENSSL≥0.9.6版本还有就是本身vsftpd版本是否支持 查询vsftpd软件是否支持SSL [root@localhost vsftpd]# ldd /usr/sbin/vsftpd |grep libssl libssl.so.6 => /lib/lib ...
分类:
其他好文 时间:
2020-06-09 16:20:53
阅读次数:
67
一、iptables防火墙1、基本操作————————————————————————————————# 查看防火墙状态service iptables status ————————————————————————————————# 停止防火墙service iptables stop ————— ...
分类:
系统相关 时间:
2020-06-07 21:03:04
阅读次数:
113
一、回顾 1、iptables/netfilter a、netfilter:raw,mangle,nat,filter PREROUTING --> INPUT PREROUTING --> FORWARD --> POSTROUTING OUTPUT --> POSTROUTING b、filte ...
分类:
系统相关 时间:
2020-06-06 11:21:27
阅读次数:
79