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.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM