snažím se zapnout firewall, zkusil jsem UFW.
Na domacim Debianu 6.0.5 x86_64 UFW funguje.
Na serveru 4smart UFW nefunguje:
Kód: Vybrat vše
$ ufw enable
ERROR: problem running ufw-init
$ /lib/ufw/ufw-init force-reload
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
iptables-restore: line 66 failed
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
iptables-restore: line 30 failed
error: "Operation not permitted" setting key "net.ipv4.icmp_echo_ignore_broadcasts"
error: "Operation not permitted" setting key "net.ipv4.icmp_ignore_bogus_error_responses"
error: "Operation not permitted" setting key "net.ipv4.icmp_echo_ignore_all"
Kód: Vybrat vše
/lib/modules/2.6.18-274.7.1.el5.028stab095.1
Rád bych věděl jak zprovoznit nějaký firewall (budou fungovat iptables? nemám s nimi zkušenost). Zároveň bych rád věděl, jestli je na virtuálních serverech 4smart možné pracovat s kernel moduly. Předpokládám, že kernel ve VM si sám změnit nemůžu.
Konfigurace: šablona debian-6.0-x86_64, VPS 256, server 367, mám předplacený účet.
Předem díky za odpovědi.