OpenVZ Forum


Home » General » Support » ufw support in OpenVZ ubuntu container.
ufw support in OpenVZ ubuntu container. [message #37013] Tue, 11 August 2009 20:00 Go to previous message
piplite is currently offline  piplite
Messages: 27
Registered: March 2008
Junior Member
I have been googling problem with setting up ufw (Ubuntu FireWall) for hours now and no success answer anywaere.
I also searched this place and no answer so far.
So heres a problem.
Installation goes perfectly fine. Im able to add rules and so on but problem comes when im trying to enable firewall:
root@piplite:/# ufw enable
ERROR: problem running init script

and more

root@piplite:/# ufw enable
Firewall started and enabled on system startup
root@piplite:/# sudo /etc/init.d/ufw force-reload
 * Stopping firewall: ufw...                                                                                                                          [ OK ]
 * Starting firewall: ufw...                                                                                                                                 iptables-restore: line 71 failed
 * Problem running '/etc/ufw/before.rules'...                                                                                                                iptables-restore: line 34 failed
 * Problem running '/etc/ufw/after.rules'...                                                                                                                 error: "Operation not permitted" setting key "net.ipv6.conf.all.accept_redirects"
error: "Operation not permitted" setting key "net.ipv6.conf.default.accept_redirects"
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"
error: "Operation not permitted" setting key "net.ipv4.tcp_syncookies"
error: "Operation not permitted" setting key "net.ipv4.tcp_sack"                                                                                                                                                   
[fail]


Its also been asked here: https://answers.launchpad.net/ufw/+question/63832 but no answer.
If anybody knows how to make it work, please advice.

Beforehand thanks.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Squid on OpenVZ CentsOs container
Next Topic: Port shaping / Rate limit do not work in openvz containers
Goto Forum:
  


Current Time: Fri Mar 29 13:04:12 GMT 2024

Total time taken to generate the page: 0.01816 seconds