Canadian Web Hosting Blog and News
14Oct/081

Manage Windows Firewall on VPS from command prompt

To Manage Windows Firewall on a VPS node from command prompt

1. Login to the hardware node.

2. On Command prompt, run the following commands.
>> vzlist -a ... to list the nodes

>> vzctl enter <veid> ....to enter vps node

3. On the VPS node,

To enable firewall...

>> netsh firewall set opmode mode=ENABLE

To Disable firewall..

>> netsh firewall set opmode mode=DISABLE

Filed under: Web Hosting 1 Comment