FileZilla is a free open source FTP software, divided into client version and server version, with all the features of FTP software. The controllable, structured interface and streamlined way to manage multiple sites makes the FileZilla client version a convenient and efficient FTP client tool, while FileZilla server is a small and reliable FTP server software that supports FTP&SFTP. FileZilla is a fast and reliable FTP client and server-side open source program, with a variety of features, direct interface before connecting to see if the Linux system open the port number of the connection
#查看防火墙运行状态
[[Email protected] sysconfig]# service iptables status
Iptables: Firewall is not running.
Edit/etc/sysconfig/iptables Add Port
If it's a new system, the firewall is banned by default in the newly installed Linux system, and there is no firewall policy configured, and none of the/etc/sysconfig/iptables files exist.
Workaround:
[[Email protected]~] #iptables-n rh-firewall-1-input//Add Policy
[[Email protected]~]# service iptables save//Save
[[Email protected]~] #vi/etc/sysconfig/iptables//Edit
Edit the/etc/sysconfig/iptables, add the following paragraph to the inside
-arh-firewall-1-input-m State--state new-m tcp-p TCP--dport 22-j ACCEPT
and restart Port 22.
[[Email protected]~]# service iptables restart
Display normal after startup
Iptables: Set the chain to policy accept:filter [OK]
Iptables: Clear Firewall rule: [OK]
Iptables: Uninstalling module: [OK]
Iptables: Apply firewall rule: [OK]
At this point, you can use FileZilla to connect to the Linux system on Windows.
[[email protected] sysconfig]# ifconfig//view Linux with IP address 10.4.9.189
Eth0 Link encap:ethernet HWaddr 00:0c:29:cf:ff:55
inet addr:10.4.9.189 bcast:10.255.255.255 mask:255.0.0.0
Inet6 ADDR:FE80::20C:29FF:FECF:FF55/64 Scope:link
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:263381 errors:0 dropped:0 overruns:0 frame:0
TX packets:5940 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20792247 (19.8 MiB) TX bytes:887861 (867.0 KiB)
If the successful connection information is filled out
The host is the Linux IP address user name and password is the Linux system username and password port number 22 is just the port that was added in/etc/sysconfig/iptables.
Connect to Linux using FileZilla