joomla templates

You are here: Home » Support » Forum
Saturday, 23 Feb 2019
Welcome, Guest
Username Password: Remember me

How to install CSF Firewall on virtuozzo
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to install CSF Firewall on virtuozzo

How to install CSF Firewall on virtuozzo 7 years, 8 months ago #3

  • admin
  • OFFLINE
  • Administrator
  • Posts: 12
edit /etc/sysconfig/iptables and add
-A FORWARD -j ACCEPT -p all -s 0/0 -i venet0
-A FORWARD -j ACCEPT -p all -s 0/0 -o venet0

-A INPUT -i venet0 -j ACCEPT
-A OUTPUT -o venet0 -j ACCEPT


create file /etc/csf/csfpre.sh and enter all the extra rules directly into it prefixed with "iptables" so the contents of that file should look something like:


iptables -A INPUT -i venet0 -j ACCEPT
iptables -A OUTPUT -o venet0 -j ACCEPT
iptables -A FORWARD -j ACCEPT -p all -s 0/0 -i venet0
iptables -A FORWARD -j ACCEPT -p all -s 0/0 -o venet0

edit /etc/csf/csf.conf file and add
and search for
ETH_DEVICE = "" change to ETH_DEVICE = "venet+"

Enjoy
  • Page:
  • 1
Time to create page: 0.13 seconds

Google Ads

Chat Support


Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/media/public_html/modules/mod_chat_support/mod_chat_support.php on line 23

Warning: file_get_contents(http://mail.opi.yahoo.com/online?u=hadieyoga&m=a&t=1): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/media/public_html/modules/mod_chat_support/mod_chat_support.php on line 23
 
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/media/public_html/modules/mod_chat_support/mod_chat_support.php on line 33

Warning: file_get_contents(http://mail.opi.yahoo.com/online?u=c1zone&m=a&t=1): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/media/public_html/modules/mod_chat_support/mod_chat_support.php on line 33


Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/media/public_html/modules/mod_chat_support/mod_chat_support.php on line 43

Warning: file_get_contents(http://mail.opi.yahoo.com/online?u=c_afrizal&m=a&t=1): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/media/public_html/modules/mod_chat_support/mod_chat_support.php on line 43