mozillazg's Blog
  • Feed
  • About
  • Archives

[linux]配置 vsftp 启用被动模式(passive mode)解决客户端"no route to host"错误

2014-05-20

linux Tags linux / vsftp
  • 参考资料

系统: CentOS

  • 修改 vsftpd.conf,启用被动模式,指定端口:

    pasv_min_port=12000
    pasv_max_port=12199
    pasv_enable=YES
    
  • 配置防火墙 iptables,允许端口访问:

    iptables -I INPUT -p tcp --dport 12000:12199 -j ACCEPT
    service iptables save
    

参考资料

  • centos - How to configure vsftpd to work with passive mode - Server Fault
  • How to check the Passive and Active FTP - Unix & Linux Stack Exchange

微信扫一扫:分享

Scan me!

微信里点“发现”,扫一下

二维码便可将本文分享至朋友圈。

有任何建议和想法欢迎在下方评论区留言或者加我微信交流

Related Posts:

  • Python: linux 环境下如何修改 PIPE buffer size
  • [linux] 修复 Redmine 无法发送通知邮件,提示 550 5.7.1 Unable to relay 的问题
  • [linux]修复 gcc 编译时的出现的 "CPU you selected does not support x86-64 instruction set" 错误
  • [linux]无法启动 rabbitmq-server,出现 timeout 错误
  • [linux]bash 下 ; && || 的区别

Comments


© 2025 mozillazg · Powered by pelican-bootstrap3, Pelican, Bootstrap · Privacy

Creative Commons License "mozillazg's Blog" by mozillazg is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where indicated otherwise.

Back to top