Với Parallels Virtuozzo Containers 4.0
Hardware node:
* 4433 - TCP VZAgent non-crypted XML connections cho VZAgent
* 4434 - TCP VZAgent SSL (crypted) XML connections cho VZAgent
* 4435 - TCP VZAgent binary data transfer connections cho VZAgent
* 4646 - TCP VZAgent SOAP
* 4643 - Parallels Infrastructure Manager
* 80 - HTTP redirect for Parallels Infrastructure Manager
* 443 - Parallels Infrastructure manager
* 22* - SSH. Dùng khi Service CT được tạo trong compat mode
* 8443, 8080 - Plesk integration
* 3389 - Remote Desktop
Nếu bạn muốn đóng nhữnng port ko cần trên node bạn có thể dùng script sau (tạo file .cmd rồi dán đoạn code dưới đây vào):
Code:
netsh firewall set opmode enable
netsh firewall set portopening protocol=TCP port=3389
netsh firewall set portopening protocol=TCP port=22 name="SSH/VZAagent"
netsh firewall set portopening protocol=TCP port=4643 name="VZCP"
netsh firewall set portopening protocol=TCP port=4646 name="SOAP"
netsh firewall set portopening protocol=TCP port=8443 name="Plesk-VZPP1"
netsh firewall set portopening protocol=TCP port=8080 name="Plesk-VZPP2"
netsh firewall set portopening protocol=TCP port=443 name="HTTPS redirect for Parallels Infrastructure Manager"
netsh firewall set portopening protocol=TCP port=80 name="HTTP redirect for Parallels Infrastructure Manager"
netsh firewall set portopening protocol=TCP port=4433 name="TCP VZAgent non-crypted XML connections to VZAgent"
netsh firewall set portopening protocol=TCP port=4434 name="TCP VZAgent SSL (crypted) XML connections to VZAgent"
netsh firewall set portopening protocol=TCP port=4435 name="TCP VZAgent binary data transfer connections to VZAgent"
pause
Service Container
* 22* - SSH. Dùng khi Service CT được tạo trong compat mode
* 8443, 8080 - Plesk integration
* 4646 - TCP VZAgent SOAP
* 4643 - Parallels Infrastructure Manager
* 4450,4452 - dùng để kết nối tới ADAM và PIM authorization
* 1433 - Dùng cho PMC, để thống kê số liệu trong MSSQL database trong SCT
Nếu bạn muốn đóng nhữnng port ko cần trên service container ngay trong node bạn có thể dùng script này (tạo fle .cmd và dán đoạn code dưới đây vào):
Code:
vzctl exec 1 netsh firewall set opmode enable
vzctl exec 1 netsh firewall set portopening protocol=TCP port=22 name="SSH/VZAagent"
vzctl exec 1 netsh firewall set portopening protocol=TCP port=4643 name="Parallels Infrastructure Manager"
vzctl exec 1 netsh firewall set portopening protocol=TCP port=4646 name="SOAP"
vzctl exec 1 netsh firewall set portopening protocol=TCP port=4450 name="ADAM and PIM authorization 4450"
vzctl exec 1 netsh firewall set portopening protocol=TCP port=4452 name="ADAM and PIM authorization 4452"
vzctl exec 1 netsh firewall set portopening protocol=TCP port=1433 name="for PMC, to retrive statistics from MSSQL database"
vzctl exec 1 netsh firewall set portopening protocol=TCP port=8443 name="Plesk-VZPP 8443"
vzctl exec 1 netsh firewall set portopening protocol=TCP port=8080 name="Plesk-VZPP 8080"
vzctl exec 1 netsh firewall set portopening protocol=TCP port=445 name="ICMP"
pause 10