In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Today, let's talk about the construction of ftp in redhat.
First of all, the construction of ftp is very simple, personally, but the company requires that it can be accessed from the external network and can be downloaded, so there is a problem that the internal network can be accessed but the external network cannot, so it is very tangled. After looking for it on the Internet for a long time, it turns out that it is the reason for active mode and passive mode. Here is how ftp can be connected from the external network.
Just install ftp directly with yum
Yum-y install ftp
Profile modification
[root@localhost ~] # grep-Ev "^ # | ^ $" / etc/vsftpd/vsftpd.conf
Anonymous_enable=YES
Local_enable=YES
Write_enable=YES
Local_umask=022
Anon_upload_enable=YES
Dirmessage_enable=YES
Xferlog_enable=YES
Connect_from_port_20=YES
Xferlog_std_format=YES
Listen=YES
Pam_service_name=vsftpd
Userlist_enable=YES
Tcp_wrappers=YES
Pasv_enable=YES
Pasv_min_port=8888
Pasv_max_port=8889
4. Add users and authorize
5. Restart ftp: service vsftpd restart
6. Firewall configuration
Nat server zone untrust protocol tcp global public network ip 8888 inside intranet ip 8888
Nat server zone untrust protocol tcp global public network ip 8889 inside intranet ip 8889
Nat server zone untrust protocol tcp global public network ip ftp inside private network ip ftp
Nat server zone untrust protocol tcp global public network ip 20 intranet ip 20
Ports 21 and 20 need to be opened
7. Connect through flashFXP software (no need to configure passive mode, default)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.