centos7 vsftp xftp 解决无法显示远程文件夹,可登陆

要同时关闭iptables ip6tables firewalld这些防火墙

上传完文件再开启这些服务

/bin/systemctl stop iptables

/bin/systemctl stop ip6tables

/bin/systemctl stop firewalld.service

 

 

在centos7上面关闭防火墙,除了要关闭iptables,还要关闭firewalld

[root@localhost share]# service iptables status

Redirecting to /bin/systemctl status  iptables.service
iptables.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

[root@localhost share]# service ip6tables status
Redirecting to /bin/systemctl status  ip6tables.service
ip6tables.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

[root@localhost share]# systemctl list-unit-files |grep ip
ipsec.service                               disabled
multipathd.service                          enabled 
[root@localhost share]# service firewalld status
Redirecting to /bin/systemctl status  firewalld.service
firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
   Active: active (running) since 四 2014-12-25 14:13:05 CST; 1h 51min ago
 Main PID: 807 (firewalld)
   CGroup: /system.slice/firewalld.service
           └─807 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

12月 25 14:13:05 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
[root@localhost share]# service firewalld stop
Redirecting to /bin/systemctl stop  firewalld.service
[root@localhost share]# systemctl status firewalld.service 
firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
   Active: inactive (dead) since 四 2014-12-25 16:04:56 CST; 15s ago
  Process: 807 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
 Main PID: 807 (code=exited, status=0/SUCCESS)

12月 25 14:13:05 localhost.localdomain systemd[1]: Started firewalld - dynamic firewall daemon.
12月 25 16:04:55 localhost.localdomain systemd[1]: Stopping firewalld - dynamic firewall daemon...
12月 25 16:04:56 localhost.localdomain systemd[1]: Stopped firewalld - dynamic firewall daemon.

 

posted @ 2016-04-22 15:04  gubook  阅读(9209)  评论(2编辑  收藏  举报