Hyper-V VMのネットワークアダプターのACLは既定でFTPの通信を拒否することはありません。記載頂いている環境において、既定でFTPの通信を拒否するのはCentOSのファイアウォールのみだと思います。
CentOS7のファイアウォールを操作するには、firewall-cmdコマンドを利用します。まずはファイアウォールの状態を確認してください。CentOSにログインして下記のコマンドを実行してください。
[root@CentOS7 ~]# firewall-cmd --list-all
public (default, active)
interfaces: eth0
sources:
services: dhcpv6-client ssh
ports:
masquerade: no
forward-ports:
icmp-blocks:
rich rules:
既定では services に ftpが追加されていません。servicesにftpを追加されているか、もしくはportsにftp通信で利用するポートが追加されていない限りFTP通信は許可されません。
ファイアウォールのservicesにftpを追加し、適切に追加されていることを確認します。
[root@CentOS7 ~]# firewall-cmd --add-service=ftp
success
[root@CentOS7 ~]# firewall-cmd --list-all
public (default, active)
interfaces: eth0
sources:
services: dhcpv6-client ftp ssh
ports:
masquerade: no
forward-ports:
icmp-blocks:
rich rules:
CentOS側のファイアウォールでFTPを許可しているのにも関わらず通信できない場合にはHyper-V上のCentOS VMにACLがかけられていないかどうかを確認します。こちらはHyper-Vホスト上もしくはホストをリモート管理できるクライアントからPowerShellを利用して確認する手順です。
PS C:\Users\UserName> Get-VM -ComputerName MyHost -Name CentOS7 | Get-VMNetworkAdapterAcl
VMName: CentOS7
VMId: <id>
AdapterName: ネットワーク アダプター
AdapterId: Microsoft:<id>
Direction Address Action
--------- ------- ------
Inbound Remote 0.0.0.0/0 Meter ( Mbytes)
Inbound Remote ::/0 Meter ( Mbytes)
Outbound Remote 0.0.0.0/0 Meter ( Mbytes)
Outbound Remote ::/0 Meter ( Mbytes)