charles
09-18-2004, 10:29 AM
You should treat your VPS server just like you would treat a dedicated server when it comes to security - after all, you are running a full blown linux distribution! So YES!
Due to security reasons, iptables on the VPS does not support stateful rules or kernel logging however, and most scripts you'll see out there will not work because lof this. It just means you have to write the rules a little differently.
We can install a custom firewall script we created for VPS use in /etc/init.d/firewall - just send an email to support@defenderhosting.com with your server id to request it.
It is a standard redhat service style script so you can do
# make sure it comes on at boot
chkconfig firewall on
# start or restart
service firewall start
service firewall restart
# stop
service firewall stop
# list rules
service firewall status
It has most standard ports opened, and we have variants for panel users with additional ports needed are opened. I recommend you review the script to see that it meets your needs before starting it, and then thoroughly checking all service you need work afterwards.
Due to security reasons, iptables on the VPS does not support stateful rules or kernel logging however, and most scripts you'll see out there will not work because lof this. It just means you have to write the rules a little differently.
We can install a custom firewall script we created for VPS use in /etc/init.d/firewall - just send an email to support@defenderhosting.com with your server id to request it.
It is a standard redhat service style script so you can do
# make sure it comes on at boot
chkconfig firewall on
# start or restart
service firewall start
service firewall restart
# stop
service firewall stop
# list rules
service firewall status
It has most standard ports opened, and we have variants for panel users with additional ports needed are opened. I recommend you review the script to see that it meets your needs before starting it, and then thoroughly checking all service you need work afterwards.