OpenVZ Forum


Home » General » Support » Firewall on boot
Re: Firewall on boot [message #3019 is a reply to message #3011] Mon, 08 May 2006 12:45 Go to previous messageGo to previous message
ferp2 is currently offline  ferp2
Messages: 29
Registered: May 2006
Junior Member
I put the following in /usr/share/vz/dists/scripts/debian-add_ip.sh:

if [ -f ${CFGFILE}.firewall ]; then
FWALL=`cat ${CFGFILE}.firewall`
echo -e "pre-up ${FWALL}" >> ${CFGFILE}.bak
fi

Also, there's a typo in the script. Search for /dev/nul. It should be /dev/null.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Config a custom Kernel from the given src.rpm
Next Topic: VPS Problem -- Users logged in
Goto Forum:
  


Current Time: Thu Jul 11 18:32:23 GMT 2024

Total time taken to generate the page: 0.02293 seconds