Portal Home > Knowledgebase > Articles Database > VPS Server Firewall


VPS Server Firewall




Posted by persianwhois, 05-29-2008, 07:47 AM
Hello, I want to install APF firewall on my vps server. My server is OpenVZ based with hypervm. But i dont know wich port used by hypervm and lxadmin and must be open in firewall. Help me please. Thank You

Posted by david510, 05-29-2008, 08:03 AM
Type the following command ad you will get the listening ports on the server. Enable them on the firewall. netstat -lpn | awk {'print $4'}| grep :

Posted by Adam H, 05-29-2008, 08:20 AM
LxAdmin uses 7777 and 7778 It's irrelevant for hyperVM as that runs on the host machine.

Posted by persianwhois, 05-29-2008, 12:18 PM
I have 1 question, help me please. If i close for example 3636 on VPS server, is it (3636) banned for vps too? or all port opened in each vps and must install a firewall for each vps and limit this?!

Posted by david510, 05-29-2008, 03:48 PM
You mean "if you block a port on main node will it be blocked on all vps inside it?" This will not happen. You can also specify the modules that each each single vps should be used in the file /etc/sysconfig/vz/veid.conf

Posted by activelobby4u, 05-29-2008, 04:29 PM
You will need to have firewall configured for each VPS as each of them acts as different entities.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Mount Network HDD (Views: 472)
Mplayer (Views: 484)