Ver código fonte

removed nat passv ports workaround

Serghey Rodin 12 anos atrás
pai
commit
f4a45e7ce2
1 arquivos alterados com 0 adições e 4 exclusões
  1. 0 4
      install/vst-install.sh

+ 0 - 4
install/vst-install.sh

@@ -745,10 +745,6 @@ vst_ip=$(wget vestacp.com/what-is-my-ip/ -O - 2>/dev/null)
 if [ ! -z "$vst_ip" ] && [ "$vst_ip" != "$main_ip" ]; then
     # Set NAT association
     $VESTA/bin/v-change-sys-ip-nat $main_ip $vst_ip
-
-    # Assign passive ip address
-    echo "pasv_address=$vst_ip" >> /etc/vsftpd/vsftpd.conf
-    service vsftpd restart
 fi
 if [ -z "$vst_ip" ]; then
     vst_ip=$main_ip