首先,使用netstat –tunlp查看是否23端口被防火墙封掉了:

linux防火墙解封某端口

再使用iptables修改设置,

# iptables -I INPUT -p tcp --dport 23 –jACCEPT
# iptables -I INPUT -p udp --dport 23 –jACCEPT
# service iptables save
# service iptables restart

linux防火墙解封某端口

使用service iptables save保存设置,然后service iptables restart重启防火墙。搞定!

相关文章:

  • 2022-02-04
  • 2021-10-18
  • 2021-12-17
  • 2022-02-09
  • 2021-11-15
  • 2021-04-23
猜你喜欢
  • 2022-02-11
  • 2021-12-05
  • 2021-12-20
  • 2021-08-14
  • 2021-04-12
  • 2022-02-02
相关资源
相似解决方案