Canadian Web Hosting Blog and News

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> 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 No Comments