Tr:HOWTO: Setting Guarddog Firewall init script

From Sabayon Wiki
Revision as of 18:57, 18 November 2012 by Hatalar205 (talk | contribs) (Created page with "{{i18n| en tr}} = NASIL: Script ile Guarddog Firewall'ı kurma = '''1...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
i18n: en tr

NASIL: Script ile Guarddog Firewall'ı kurma

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
 depend() { 
          after iptables
	  before ddclient 
 start() { 
          ebegin "Applying firewall rules - Guarddog" 
          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!!


[1] The script was created by jakomo in
[2] This guide is derivated from
[3] how create init scripts.

--zambayoni 18:09, 12 February 2009 (UTC)