We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d76e9f0 commit cc1f6fbCopy full SHA for cc1f6fb
install/0.9.7/rhel/vsftpd.conf
@@ -13,3 +13,6 @@ pam_service_name=vsftpd
13
userlist_enable=YES
14
tcp_wrappers=YES
15
force_dot_files=YES
16
+pasv_enable=YES
17
+pasv_max_port=12100
18
+pasv_min_port=12000
install/vst-install.sh
@@ -575,6 +575,11 @@ wget vestacp.com/notify/?$REPO -O /dev/null
575
576
# Get server ip
577
vst_ip=$(wget vestacp.com/what-is-my-ip/ -O - 2>/dev/null)
578
+if [ ! -z "$vst_ip" ] && [ "$vst_ip" != "$main_ip" ]; then
579
+ # Assign passive ip address
580
+ echo "pasv_address=54.246.111.50" >> /etc/vsftpd/vsftpd.conf
581
+fi
582
+
583
if [ -z "$vst_ip" ]; then
584
vst_ip=$main_ip
585
fi
0 commit comments