En:HOWTO: Setting Guarddog Firewall init script
From Sabayon Wiki
Revision as of 18:56, 18 November 2012 by Hatalar205 (Talk | contribs)
i18n: en tr
1. Install Guarddog with Stritz Package Manager
2. In terminal run guarddog (use su after) and configure rules. Guarddog generate a file /etc/rc.firewall.
3. Create this file and gave it chmod +x: [1]
File: /etc/init.d/firewall
#!/sbin/runscript
depend() {
after iptables
before ddclient
}
start() {
ebegin "Applying firewall rules - Guarddog"
/etc/rc.firewall
eend $? "Firewall rules not set"
}
4. Now should register the firewall script in terminal (use su after)
# rc-update add firewall default
5. Now you rebooting the system and enjoy!!
- Notes
[1] The script was created by jakomo in http://bugs.gentoo.org/182373.
[2] This guide is derivated from http://forum.sabayonlinux.org/viewtopic.php?f=59&p=91840
[3] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4 how create init scripts.
--zambayoni 18:09, 12 February 2009 (UTC)