mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
removed nat passv ports workaround
This commit is contained in:
parent
729b9d4ec9
commit
f4a45e7ce2
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue